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

Change language to:
Français - 日本語 - Português

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

Scilab help >> Graphics > xgraduate

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)

See Also

Authors

J.P.C ; ;

<< xgetech Graphics xgrid >>

Copyright (c) 2022-2023 (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:
Wed Oct 05 12:10:01 CEST 2011