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>SetDefaultDashedStyle</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="SetDataValues.html" title="SetDataValues" /><link rel="next" href="SetDefaultTTFont.html" title="SetDefaultTTFont" /></head><body><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">SetDefaultDashedStyle</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="SetDataValues.html">Prev</a> </td><th width="60%" align="center">PHPlot Function Reference</th><td width="20%" align="right">
<a accesskey="n" href="SetDefaultTTFont.html">Next</a></td></tr></table><hr /></div><div class="refentry"><a id="SetDefaultDashedStyle"></a><div class="titlepage"></div><div class="refnamediv"><h2><span class="refentrytitle">SetDefaultDashedStyle</span></h2><p>SetDefaultDashedStyle — Sets the on/off pattern for dashed lines.</p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><pre class="synopsis">$plot->SetDefaultDashedStyle(<em class="parameter"><code>$style</code></em>)</pre></div><div class="refsect1"><a id="idp1377929228"></a><h2>Description</h2><p>
<code class="function">SetDefaultDashedStyle</code> sets the line style for dashed
lines. That is, it customizes the look of dashed lines by specifying the
dash and gap lengths.
</p></div><div class="refsect1"><a id="idp1377930316"></a><h2>Parameters</h2><div class="variablelist"><dl class="variablelist"><dt><span class="term"><em class="replaceable"><code>$style</code></em></span></dt><dd><p>
A string specifying the number of alternating colored and transparent dots,
in order. For example, '4-3' means 4 colored, 3 transparent;
'2-3-1-2' means 2 colored, 3 transparent, 1 colored, 2 transparent.
</p></dd></dl></div></div><div class="refsect1"><a id="idp1377931980"></a><h2>Notes</h2><p>
The default dashed style is '2-4', meaning 2 pixels drawn, followed by a
gap of 4 pixels.
</p><p>
All dashed lines on a plot must use the same dashed style.
Dashed lines are used for the grid (unless disabled with
<a class="xref" href="SetDrawDashedGrid.html" title="SetDrawDashedGrid"><span class="refentrytitle">SetDrawDashedGrid</span></a>), and for any data sets with
line style set to dashed with <a class="xref" href="SetLineStyles.html" title="SetLineStyles"><span class="refentrytitle">SetLineStyles</span></a>.
</p></div></div><div class="navfooter"><hr /><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="SetDataValues.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="SetDefaultTTFont.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">SetDataValues </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> SetDefaultTTFont</td></tr></table></div></body></html>