xnumb
draw numbers
Syntax
xnumb(x, y, nums, [box, angle]) hdl = xnumb(...)
Arguments
- x, y, nums
vectors of same size.
- box
an integer value.
- angle
an optional vector of same size as
x- hdl
This optional output is a vector containing the handles of the created
Textentities. Usehdlto modify properties of a specific or all entities after they are created. For a list of properties, see text_properties.
Description
xnumb draws the value of nums(i)
at position x(i), y(i) in the current scale.
If box is 1, a box is drawn around the numbers.
If angle is given, it gives the direction for string drawing.
![]() | Note that a maximum of 4 significant digits of each element of nums
will be displayed. |
See also
- xstring — draw strings
History
| Version | Description |
| 2025.0.0 | Function returns the created handle(s). |
| Report an issue | ||
| << xlfont | text | xstring >> |

