Subversion Repositories cheapmusic

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
98 - 1
<?xml version="1.0" encoding="ISO-8859-1" standalone="no"?>
2
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" /><title>SetPlotBgColor</title><link rel="stylesheet" type="text/css" href="phplotdoc.css" /><meta name="generator" content="DocBook XSL Stylesheets V1.78.1" /><link rel="home" href="index.html" title="PHPlot Reference Manual" /><link rel="up" href="reference.html" title="PHPlot Function Reference" /><link rel="prev" href="SetPlotAreaWorld.html" title="SetPlotAreaWorld" /><link rel="next" href="SetPlotBorderType.html" title="SetPlotBorderType" /></head><body><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">SetPlotBgColor</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="SetPlotAreaWorld.html">Prev</a> </td><th width="60%" align="center">PHPlot Function Reference</th><td width="20%" align="right"> <a accesskey="n" href="SetPlotBorderType.html">Next</a></td></tr></table><hr /></div><div class="refentry"><a id="SetPlotBgColor"></a><div class="titlepage"></div><div class="refnamediv"><h2><span class="refentrytitle">SetPlotBgColor</span></h2><p>SetPlotBgColor &#8212; Set plot area background color</p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><pre class="synopsis">$plot-&gt;SetPlotBgColor(<em class="parameter"><code>$color</code></em>)</pre></div><div class="refsect1"><a id="idp1378591628"></a><h2>Description</h2><p>
3
<code class="function">SetPlotBgColor</code> sets the background color of the
4
plot area of the image (the area inside the margins, title, and usually the
5
axes).
6
    </p></div><div class="refsect1"><a id="idp1378592700"></a><h2>Parameters</h2><div class="variablelist"><dl class="variablelist"><dt><span class="term"><em class="replaceable"><code>$color</code></em></span></dt><dd><p>
7
Color value to use.
8
See <a class="xref" href="conc-colors.html" title="3.5. Colors">Section 3.5, &#8220;Colors&#8221;</a> for more on color values.
9
          </p></dd></dl></div></div><div class="refsect1"><a id="idp1378594556"></a><h2>Notes</h2><p>
10
Background color is disabled by default. If you want a background color
11
for the plot area, you must enabled it with
12
<a class="xref" href="SetDrawPlotAreaBackground.html" title="SetDrawPlotAreaBackground"><span class="refentrytitle">SetDrawPlotAreaBackground</span></a>.
13
    </p><p>
14
Background image takes priority over background color.
15
If a background image was set
16
with <a class="xref" href="SetPlotAreaBgImage.html" title="SetPlotAreaBgImage"><span class="refentrytitle">SetPlotAreaBgImage</span></a>,
17
then no background color will be drawn, even if it was enabled.
18
    </p><p>
19
The default background color for the plot area is white (if enabled as noted
20
above). If background color for the plot area is not enabled, the overall
21
background color (or image) will be seen in the plot area.
22
    </p></div></div><div class="navfooter"><hr /><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="SetPlotAreaWorld.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="reference.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="SetPlotBorderType.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">SetPlotAreaWorld </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> SetPlotBorderType</td></tr></table></div></body></html>