SetTickLabelColor

SetTickLabelColor — Set the color for tick labels

Synopsis

$plot->SetTickLabelColor($color)

Description

SetTickLabelColor sets the color which is used for tick labels along the X and Y axis lines.

Parameters

$color

Color value to use. See Section 3.5, “Colors” for more on color values.

Notes

If SetTickLabelColor is not used, tick labels are drawn using the general text color set with SetTextColor. If neither SetTickLabelColor nor SetTextColor is used, the default color is black.

See also Section 3.6, “Labels” for information about different label types.

PHPlot has a deprecated function called SetLabelColor. Do not use this function. It does not set the color used for labels.

History

This function was added in PHPlot-5.7.0. In earlier releases, the tick label colors could only be set using SetTextColor, which also changed the color of other elements.

SourceForge.net Logo

This version of the manual was produced for the PHPlot Sourceforge project web service site, which requires the logo on each page.

To download a logo-free copy of the manual, see the PHPlot project downloads area.