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>SetYTickLabelPos</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="SetYTickIncrement.html" title="SetYTickIncrement" /><link rel="next" href="SetYTickLength.html" title="SetYTickLength" /></head><body><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">SetYTickLabelPos</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="SetYTickIncrement.html">Prev</a> </td><th width="60%" align="center">PHPlot Function Reference</th><td width="20%" align="right"> <a accesskey="n" href="SetYTickLength.html">Next</a></td></tr></table><hr /></div><div class="refentry"><a id="SetYTickLabelPos"></a><div class="titlepage"></div><div class="refnamediv"><h2><span class="refentrytitle">SetYTickLabelPos</span></h2><p>SetYTickLabelPos &#8212; Position the Y tick labels</p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><pre class="synopsis">$plot-&gt;SetYTickLabelPos(<em class="parameter"><code>$ytlp</code></em>)</pre></div><div class="refsect1"><a id="idp1379264956"></a><h2>Description</h2><p>
3
<code class="function">SetYTickLabelPos</code> determines where (and if) the
4
Y tick labels are drawn. The labels can be drawn on the left side of the plot,
5
on the right side of the plot, in both positions, at the Y axis (even if it is
6
in the middle of the plot), or not drawn at all.
7
    </p></div><div class="refsect1"><a id="idp1379266148"></a><h2>Parameters</h2><div class="variablelist"><dl class="variablelist"><dt><span class="term"><em class="replaceable"><code>$ytlp</code></em></span></dt><dd><p>
8
A string indicating the desired position for the Y tick labels:
9
            </p><div class="informaltable"><table summary="Y tick label position choices" border="1"><colgroup><col class="c1" /><col class="c2" /></colgroup><thead><tr><th>Position</th><th>Description</th></tr></thead><tbody><tr><td>plotleft</td><td>Tick labels on the left side of the plot</td></tr><tr><td>plotright</td><td>Tick labels on the right side of the plot</td></tr><tr><td>both</td><td>Tick labels on both left and right sides of the
10
                       plot</td></tr><tr><td>yaxis</td><td>Tick labels at Y axis (even if the axis is in
11
                      the middle of the plot)</td></tr><tr><td>none</td><td>No tick labels</td></tr></tbody></table></div><p>
12
          </p></dd></dl></div></div><div class="refsect1"><a id="idp1379273740"></a><h2>Notes</h2><p>
13
The default position for the Y tick labels is chosen to avoid overlapping
14
tick and data labels.
15
For vertical plots, there is no conflict (because data labels are drawn
16
along X), so the tick label position defaults to 'plotleft'.
17
For horizontal plots, the Y tick labels will default to 'none' if the Y data
18
labels have been enabled using <a class="xref" href="SetYDataLabelPos.html" title="SetYDataLabelPos"><span class="refentrytitle">SetYDataLabelPos</span></a>.
19
If neither SetYTickLabelPos nor SetYDataLabelPos are used, PHPlot will
20
enable just data labels if they are non-empty, and otherwise it will enable
21
just tick labels, and position them to the left of the plot.
22
    </p><p>
23
This applies only to tick labels.
24
For data labels, see <a class="xref" href="SetYDataLabelPos.html" title="SetYDataLabelPos"><span class="refentrytitle">SetYDataLabelPos</span></a>.
25
You may want the tick marks to be in the same position as the tick labels.
26
To position the tick marks, see <a class="xref" href="SetYTickPos.html" title="SetYTickPos"><span class="refentrytitle">SetYTickPos</span></a>.
27
    </p><p>
28
See <a class="xref" href="SetYAxisPosition.html" title="SetYAxisPosition"><span class="refentrytitle">SetYAxisPosition</span></a> for positioning the Y axis.
29
    </p></div></div><div class="navfooter"><hr /><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="SetYTickIncrement.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="SetYTickLength.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">SetYTickIncrement </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> SetYTickLength</td></tr></table></div></body></html>