Scilab 6.0.2
Please note that the recommended version of Scilab is 2025.0.0. This page might be outdated.
See the recommended documentation of this function
graduate
Pretty axis graduations
Syntax
[xi,xa,np]=graduate( xmi, xma,n1,n2) [xi,xa,np]=graduate( xmi, xma)
Arguments
- xmi,xma
real scalars
- n1, n2
integers with default values 3,10
- xi, xa
real scalars
- np
integer
Description
graduate looks for the minimum interval [xi,xa]
and a number of tics
np
such that:
xi <= xmi <= xma <= xa
xa - xi / np = k(10^n)
,k
in [1 3 5]
for an integer n
n1 < np < n2
Examples
Report an issue | ||
<< drawaxis | axis | xgraduate >> |