Scilab Website | Contribute with GitLab | Mailing list archives | ATOMS toolboxes
Scilab Online Help
2025.0.0 - English


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 Text entities. Use hdl to 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.

Examples

plot2d([-100,500],[-100,600],[-1,-1],"022")
x=0:100:200;
xnumb(x,500*ones(x),[10,20,35],1)

See also

History

VersionDescription
2025.0.0 Function returns the created handle(s).
Report an issue
<< xlfont text xstring >>

Copyright (c) 2022-2024 (Dassault Systèmes)
Copyright (c) 2017-2022 (ESI Group)
Copyright (c) 2011-2017 (Scilab Enterprises)
Copyright (c) 1989-2012 (INRIA)
Copyright (c) 1989-2007 (ENPC)
with contributors
Last updated:
Thu Oct 24 11:13:10 CEST 2024