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>SetPlotType</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="SetPlotBorderType.html" title="SetPlotBorderType" /><link rel="next" href="SetPointShapes.html" title="SetPointShapes" /></head><body><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">SetPlotType</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="SetPlotBorderType.html">Prev</a> </td><th width="60%" align="center">PHPlot Function Reference</th><td width="20%" align="right"> <a accesskey="n" href="SetPointShapes.html">Next</a></td></tr></table><hr /></div><div class="refentry"><a id="SetPlotType"></a><div class="titlepage"></div><div class="refnamediv"><h2><span class="refentrytitle">SetPlotType</span></h2><p>SetPlotType &#8212; Select the type of plot - how the data will be graphed</p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><pre class="synopsis">$plot-&gt;SetPlotType(<em class="parameter"><code>$pt</code></em>)</pre></div><div class="refsect1"><a id="idp1378616628"></a><h2>Description</h2><p>
<code class="function">SetPlotType</code> selects a type of plot from among the plot
types supported by PHPlot.
    </p></div><div class="refsect1"><a id="idp1378617644"></a><h2>Parameters</h2><div class="variablelist"><dl class="variablelist"><dt><span class="term"><em class="replaceable"><code>$pt</code></em></span></dt><dd><p>
A string indicating the type of plot. The following types are available:
            </p><div class="itemizedlist"><ul class="itemizedlist compact" style="list-style-type: disc; "><li class="listitem"><p>area</p></li><li class="listitem"><p>bars</p></li><li class="listitem"><p>boxes</p></li><li class="listitem"><p>bubbles</p></li><li class="listitem"><p>candlesticks</p></li><li class="listitem"><p>candlesticks2</p></li><li class="listitem"><p>linepoints</p></li><li class="listitem"><p>lines</p></li><li class="listitem"><p>ohlc</p></li><li class="listitem"><p>pie</p></li><li class="listitem"><p>points</p></li><li class="listitem"><p>squared</p></li><li class="listitem"><p>squaredarea</p></li><li class="listitem"><p>stackedarea</p></li><li class="listitem"><p>stackedbars</p></li><li class="listitem"><p>stackedsquaredarea</p></li><li class="listitem"><p>thinbarline</p></li></ul></div><p>
          </p></dd></dl></div></div><div class="refsect1"><a id="idp1378624124"></a><h2>Notes</h2><p>
The default plot type is 'linepoints'.
    </p><p>
A complete description of the available plot types can be found in
<a class="xref" href="conc-plottypes.html" title="3.4. PHPlot Plot Types">Section 3.4, &#8220;PHPlot Plot Types&#8221;</a>.
    </p></div><div class="refsect1"><a id="idp1378625420"></a><h2>History</h2><p>
Plot types 'squaredarea' and 'stackedsquaredarea' were added in PHPlot-6.2.0.
     </p><p>
Plot type 'boxes' was added in PHPlot-6.1.0.
     </p><p>
Plot type 'bubbles' was added in PHPlot-5.5.0.
     </p><p>
Plot types 'candlesticks', 'candlesticks2', and 'ohlc'
were added in PHPlot-5.3.0.
     </p><p>
Plot type 'stackedarea' was added in PHPlot-5.1.1.
     </p></div></div><div class="navfooter"><hr /><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="SetPlotBorderType.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="SetPointShapes.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">SetPlotBorderType </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> SetPointShapes</td></tr></table></div></body></html>