Grocer Function

NAME

drawx - draw a readable x axis

CALLING SEQUENCE

drawx(xscale0,dilat,ref_nbinter,font_axis,y0,x0)

PARAMETERS

Input

Output

DESCRIPTION

Draws an x axis which remains readable whatever number of values it contains. The parameter ref_nbinter must be adapted to the size of the screen (function param_graph). Must be used after a 2D graphic instruction (such as plot2d).

EXAMPLE

1) drawx(xscale0,ref_nbinter,font_axis,y0)
2) drawx(string([1:100]),20,3,0)

Example 1 is taken from function pltseries0.
Example 2 draws an x axis with range going from 1 to 100, a maximum number of chars on the axis equal to 20, a font size of 3 and at the axis is located at y=0.

AUTHOR

Eric Dubois 2002