SetTitleColor
Prev | PHPlot Function Reference | Next

## SetTitleColor

SetTitleColor — Set the color of the main plot title

## Synopsis

    $plot->SetTitleColor($color)

## Description

`SetTitleColor` sets the color of the main plot title (as set with SetTitle), and the default color for the X and Y titles (as set with SetXTitle and SetYTitle).

## Parameters

`$color`

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

## Notes

The default color for the main title is black.

Use just SetTitleColor if you want all three titles to have the same color. If you want different colors for the main, X, and/or Y titles, use SetTitleColor to set the main title color, and use SetXTitleColor and/or SetYTitleColor to set the color of the other titles.

## History

Through PHPlot-5.1.3, this function set the color for all three titles. Starting with PHPlot-5.2.0, it sets the main title color, and the default color for X and Y titles.

Prev | Up | Next
SetTitle | Home | SetTransparentColor