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

Change language to:
Français - 日本語 - Português - Русский

Please note that the recommended version of Scilab is 2025.0.0. This page might be outdated.
See the recommended documentation of this function

Scilab Help >> Graphics > text > xnumb

xnumb

draw numbers

Syntax

xnumb(x, y, nums, [box, angle])

Arguments

x, y, nums

vectors of same size.

box

an integer value.

angle

an optional vector of same size as x

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

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:
Mon Feb 12 19:26:51 CET 2018