Subversion Repositories cheapmusic

Rev

Blame | Last modification | View Log | RSS feed

<?xml version="1.0" encoding="ISO-8859-1" standalone="no"?>
<!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>SetXTitleColor</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="SetXTitle.html" title="SetXTitle" /><link rel="next" href="SetYAxisPosition.html" title="SetYAxisPosition" /></head><body><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">SetXTitleColor</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="SetXTitle.html">Prev</a> </td><th width="60%" align="center">PHPlot Function Reference</th><td width="20%" align="right"> <a accesskey="n" href="SetYAxisPosition.html">Next</a></td></tr></table><hr /></div><div class="refentry"><a id="SetXTitleColor"></a><div class="titlepage"></div><div class="refnamediv"><h2><span class="refentrytitle">SetXTitleColor</span></h2><p>SetXTitleColor &#8212; Set the color of the X Title</p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><pre class="synopsis">$plot-&gt;SetXTitleColor(<em class="parameter"><code>$color</code></em>)</pre></div><div class="refsect1"><a id="idp1379109884"></a><h2>Description</h2><p>
<code class="function">SetXTitleColor</code> sets the color of the X title
(as set with <a class="xref" href="SetXTitle.html" title="SetXTitle"><span class="refentrytitle">SetXTitle</span></a>).
    </p></div><div class="refsect1"><a id="idp1379111220"></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>
Color value to use.
See <a class="xref" href="conc-colors.html" title="3.5. Colors">Section 3.5, &#8220;Colors&#8221;</a> for more on color values.
          </p></dd></dl></div></div><div class="refsect1"><a id="idp1379113076"></a><h2>Notes</h2><p>
Use this function if you want the X title to have a different color than
the main title.
See <a class="xref" href="conc-otherelements.html#conc-titles" title="3.7.1. Titles">Section 3.7.1, &#8220;Titles&#8221;</a> for more about plot titles.
    </p><p>
By default, the X title defaults to use the same color as the main plot title.
The main plot title color is set with <a class="xref" href="SetTitleColor.html" title="SetTitleColor"><span class="refentrytitle">SetTitleColor</span></a>, and
it defaults to black.
    </p></div><div class="refsect1"><a id="idp1379114836"></a><h2>History</h2><p>
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.
    </p></div></div><div class="navfooter"><hr /><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="SetXTitle.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="SetYAxisPosition.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">SetXTitle </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> SetYAxisPosition</td></tr></table></div></body></html>