SetXTitleColor

SetXTitleColor — Set the color of the X Title

Synopsis

$plot->SetXTitleColor($color)

Description

SetXTitleColor sets the color of the X title (as set with SetXTitle).

Parameters

$color

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

Notes

Use this function if you want the X title to have a different color than the main title. See Section 3.7.1, “Titles” for more about plot titles.

By default, the X title defaults to use the same color as the main plot title. The main plot title color is set with SetTitleColor, and it defaults to black.

History

This function was added in PHPlot-5.2.0. Through PHPlot-5.1.3, the main, X, and Y titles always used the same color.

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.