SetBackgroundColor — Sets the overall background color.




SetBackgroundColor sets the overall background color. This is the color of the background of the whole image.



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


The default background color is white. Background image overrides background color; background color is ignored if a background image was set with SetBgImage.

The background color shows through in the plot area too, unless the plot area background is changed with SetPlotBgColor or SetPlotAreaBgImage.

The background color is used as the legend background, unless SetLegendBgColor is used to change it. 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.