Scilab Function

xaxis - draw an axis

Calling Sequence

xaxis(alpha,nsteps,size,init)

Parameters

Description

xaxis draws an axis.

The direction of the axis is given by alpha in degree.

init=[x0 y0] is the initial point of the axis.

nsteps=[n1,n2] gives the number of big and small intervals separated by tics.

size=[s1,s2,c1] where s1 gives the size of the small intervals, s2 gives the size of the small tics along the axis and s2*c1 gives the size of the big tics. All the sizes are given using the current x-scale and y-scale and are given as dimensions along the drawn axis.

            example : n1=3, n2=2, alpha=0
                    (s2*c1) 
            |     (s2)   |            |           |
            |______|_____|_____|______|_____|_____|
               s1
   

Examples

Author