XNUMBERSCOLOR

Syntax: SET XNUMBERSCOLOR n
SET XNUMBERSCOLOR colorname
GET XNUMBERSCOLOR { n }
Default: XNUMBERSCOLOR = black

Note: The GET XNUMBERSCOLOR command always returns the color index, and not the color name, even if XNUMBERSCOLOR was set with a color name.

XNUMBERSCOLOR controls the color of the numbers labeling the x-axis. The parameter c can be a numeric scalar or one of the fixed color names. A positive numeric value represents the index of the color in the currently loaded colormap. A negative number represents the index of the fixed color. A string value should be one of the fixed color names.

For example:

SET XNUMBERSCOLOR 2 uses the colormap index 2
SET XNUMBERSCOLOR -2 uses the fixed color index 2
SET XNUMBERSCOLOR RED uses the fixed color name "RED"