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>SetDrawYAxis</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="SetDrawXGrid.html" title="SetDrawXGrid" /><link rel="next" href="SetDrawYDataLabelLines.html" title="SetDrawYDataLabelLines" /></head><body><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">SetDrawYAxis</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="SetDrawXGrid.html">Prev</a> </td><th width="60%" align="center">PHPlot Function Reference</th><td width="20%" align="right"> <a accesskey="n" href="SetDrawYDataLabelLines.html">Next</a></td></tr></table><hr /></div><div class="refentry"><a id="SetDrawYAxis"></a><div class="titlepage"></div><div class="refnamediv"><h2><span class="refentrytitle">SetDrawYAxis</span></h2><p>SetDrawYAxis &#8212; Enable or disable drawing of the Y axis line</p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><pre class="synopsis">$plot-&gt;SetDrawYAxis(<em class="parameter"><code>$draw</code></em>)</pre></div><div class="refsect1"><a id="idp1378025428"></a><h2>Description</h2><p>
<code class="function">SetDrawYAxis</code> enables or disables drawing of the Y axis
line. Disabling the Y axis line should be necessary only in special
applications.
    </p></div><div class="refsect1"><a id="idp1378026508"></a><h2>Parameters</h2><div class="variablelist"><dl class="variablelist"><dt><span class="term"><em class="replaceable"><code>$draw</code></em></span></dt><dd><p>
True to draw the Y axis line, False to not draw the Y axis line.
          </p></dd></dl></div></div><div class="refsect1"><a id="idp1378028036"></a><h2>Notes</h2><p>
By default, the Y axis line is drawn.
    </p><p>
Disabling the Y axis line does not disable associated plot elements, nor
change the plot margin calculation.  To produce a completely 'bare' plot,
you must turn off the grid, tick marks, tick labels, and data labels.  You
also need to turn off the plot area border, which defaults to left and
right sides.  Lastly, you might want to reduce the margins, since the
default minimum margin is 15 pixels on each side of the plot area, even if
there are no axis lines, labels, or titles.
See <a class="xref" href="SetDrawXAxis.html" title="SetDrawXAxis"><span class="refentrytitle">SetDrawXAxis</span></a> for sample code.
    </p></div><div class="refsect1"><a id="idp1378029756"></a><h2>History</h2><p>
This function was added in PHPlot-5.3.0.
    </p></div></div><div class="navfooter"><hr /><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="SetDrawXGrid.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="SetDrawYDataLabelLines.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">SetDrawXGrid </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> SetDrawYDataLabelLines</td></tr></table></div></body></html>