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>SetYTickIncrement</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="SetYTickCrossing.html" title="SetYTickCrossing" /><link rel="next" href="SetYTickLabelPos.html" title="SetYTickLabelPos" /></head><body><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">SetYTickIncrement</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="SetYTickCrossing.html">Prev</a> </td><th width="60%" align="center">PHPlot Function Reference</th><td width="20%" align="right"> <a accesskey="n" href="SetYTickLabelPos.html">Next</a></td></tr></table><hr /></div><div class="refentry"><a id="SetYTickIncrement"></a><div class="titlepage"></div><div class="refnamediv"><h2><span class="refentrytitle">SetYTickIncrement</span></h2><p>SetYTickIncrement &#8212; Set the length of the interval between Y ticks</p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><pre class="synopsis">$plot-&gt;SetYTickIncrement([<span class="optional"><em class="parameter"><code>$ti</code></em></span>])</pre></div><div class="refsect1"><a id="idp1379255708"></a><h2>Description</h2><p>
3
<code class="function">SetYTickIncrement</code> sets the length of the interval between
4
Y tick marks (the tick increment, or tick step).
5
You can use either this function or <a class="xref" href="SetNumYTicks.html" title="SetNumYTicks"><span class="refentrytitle">SetNumYTicks</span></a>
6
(but not both) to control the tick mark spacing.
7
    </p></div><div class="refsect1"><a id="idp1379257212"></a><h2>Parameters</h2><div class="variablelist"><dl class="variablelist"><dt><span class="term"><em class="replaceable"><code>$ti</code></em></span></dt><dd><p>
8
Desired tick increment, in world coordinates.
9
If the value is omitted or an empty string, the default behavior is restored.
10
          </p></dd></dl></div></div><div class="refsect1"><a id="idp1379258780"></a><h2>Notes</h2><p>
11
If neither <code class="function">SetYTickIncrement</code> nor
12
<a class="xref" href="SetNumYTicks.html" title="SetNumYTicks"><span class="refentrytitle">SetNumYTicks</span></a> is used, the tick interval
13
is automatically calculated by PHPlot.
14
See <a class="xref" href="adv-autorange.html#adv-autorange-tick" title="4.6.7. Automatic Tick Increment Calculation">Section 4.6.7, &#8220;Automatic Tick Increment Calculation&#8221;</a> for details.
15
    </p></div><div class="refsect1"><a id="idp1379260516"></a><h2>History</h2><p>
16
Before PHPlot-6.0.0, if neither the number of ticks nor the tick increment
17
were specified, PHPlot calculated the tick increment as 1/10 of the X data
18
range.
19
Starting with PHPlot-6.0.0, a more complex algorithm is used which tries
20
to produce 'natural' tick increments.
21
    </p><p>
22
Starting with PHPlot-6.0.0, if you call both <code class="function">SetNumYTicks</code>
23
and <code class="function">SetYTickIncrement</code>, the tick increment has priority
24
and the specified number of ticks is ignored.
25
Before PHPlot-6.0.0, the behavior was order-dependent: whichever function
26
was used last had priority.
27
    </p></div></div><div class="navfooter"><hr /><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="SetYTickCrossing.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="SetYTickLabelPos.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">SetYTickCrossing </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> SetYTickLabelPos</td></tr></table></div></body></html>