Contents Previous Next Subchapters

Setting Minor Intervals On An Axis
Syntax gxaxis(typeminmaxmajorminor)
gyaxis(
typeminmaxmajorminor)
gzaxis(
typeminmaxmajorminor)
See Also gxgrid , and gxaxis(type, min, max, major)
Menu Command Graphics | Axis | Scale . . .

Description
Divides the axis into the number of labeled intervals specified by major, where major is an integer scalar. Each major interval is divided into the number of sub-intervals specified by minor, where minor is an integer scalar. (The value type functions are described in the gxaxis(type) . The values min and max function are described in the gxaxis(type, min, max) .)

Example
Entering
     ginit
     gxaxis("linear", 0, 5, 5, 10)
     gyaxis("linear", 0, 25, 5, 5)
     gplot(seq(5), seq(5)^2)
will result in the following plot