SetYTitleColor

SetYTitleColor — Set the color of the Y Title

Synopsis

$plot->SetYTitleColor($color)

Description

SetYTitleColor sets the color of the Y title (as set with SetYTitle).

Parameters

$color

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

Notes

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

By default, the Y 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.