Contents Previous Next Subchapters

Specifying Nonnumeric Tick Mark Labels
Syntax gxtick(labels)
See Also gxaxis , gxtick(form) , and gxtick(location)

Specifies the labels to be used for each of the major tick marks on the appropriate axis, where labels is a character matrix of two or more rows. The i-th major tick mark, starting with the one corresponding to the smallest value, is labeled with the contents of the i-th row of label. There is always one more major tick mark than there are major divisions on a given axis.

If you enter
     gxaxis("linear", 1, 4, 3, 5)
O-Matrix will draw a plot with the normal numeric labels. If you continue by entering
     gxtick({"one", "two", "three", "four"})
O-Matrix will change the x-axis labels for the first, second, third, and fourth tick marks to one, two, three, and four, respectively.