Contents Previous Next Subchapters

Specifying Numeric Format For Tick Mark Labels
Syntax gxtick(form)
gytick(
form)
gztick(
form)
See Also gxaxis , gxtickfont , gxtick(location) , and gxtick(label)

Description
Sets the numeric format for the tick marks labels on the appropriate axis, where form is a character row vector specifying a floating point format . This function affects only the tick mark labels in the current viewport.

Example
If you enter
     ginit
     gplot(seq(10))
the tick marks are labeled using the free format. If you continue by entering
     gxtick("f10.1")
the x-axis tick mark labels will use a fixed point format with one place after the decimal point. If you continue by entering
     gspace(.2, .1, .1, .1)
     gytick("e10.1")
the y-axis tick mark labels will use an exponential format with one place after the decimal point (the gspace function was used to provide more room for the larger labels).