Scilab 5.3.0
- Scilab Online Help
- Graphics Library
- 2d_plot
- 3d_plot
- annotation
- axes_operations
- axis
- bar_histogram
- Color management
- Datatips
- figure_operations
- geometric_shapes
- handle
- interaction
- load_save
- pie
- polygon
- property
- style
- text
- transform
- window_control
- GlobalProperty
- Graphics: Getting started
- alufunctions
- clear_pixmap
- Compound_properties
- graphics_entities
- object_editor
- pixel_drawing_mode
- plzr
- rubberbox
- segs_properties
- show_pixmap
- square
- twinkle
- xbasr
- xchange
- xclear
- xdel
- xget
- xgetech
- xgraduate
- xgrid
- xname
- xnumb
- xpause
- xsegs
- xset
- xsetech
- xsetm
Please note that the recommended version of Scilab is 2025.0.0. This page might be outdated.
See the recommended documentation of this function
xgraduate
axis graduation
Calling Sequence
[xi,xa,np1,np2,kMinr,kMaxr,ar]=xgraduate(xmi,xma)
Arguments
- xmi,xma
real scalars
- xi, xa, kMinr, kMaxr, ar
real scalars
- np1,np2
integer
Description
xgraduate
returns the axis graduations which are used by the plot
routines (with pretty print flag enabled). It returns an interval [xi,xa]
which contains the
given interval [xmi,xma]
and such that
xi= kMinr*10^ar
, xa=kMaxr*10^ar
and the interval can
be divided into np2
intervals and each interval is divided in
np1
sub-intervals.
Examples
[x1,xa,np1,np2,kMinr,kMaxr,ar]=xgraduate(-0.3,0.2)
Authors
J.P.C ; ;
<< xgetech | Graphics Library | xgrid >> |