Simple graduation calculation
[vmin,vmax,nb1,nb2] = CL_graduate(xmin,xmax,ns1,ns2)
Computes uniformly distributed graduation values.
The steps are computed such that the corresponding values (vmin+k*(vmax-vmin)/nb1, k=0:nb1) are of the form: k*10^n (i: integer), with k in [1,2,3,5,6]. The substeps are then chosen accordingly. For instance, if k=1, possible values for nb2 are 1, 2, 5, 10, and so on. The number of substeps is limited to 12.
User data minimum value (1x1).
User data maximum value (1x1).
(integer, optional) Approximate number of steps wanted. Default is 7.
(integer, optional) Approximate number of sub-steps wanted. Default is 5.
Interval minimum value (vmin <= xmin).
Interval maximum value (vmax >= xmax).
(integer) Number of steps.
(integer) Number of sub-steps.
CNES - DCT/SB