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>SetPrintImage</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="SetPrecisionY.html" title="SetPrecisionY" /><link rel="next" href="SetRGBArray.html" title="SetRGBArray" /></head><body><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">SetPrintImage</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="SetPrecisionY.html">Prev</a> </td><th width="60%" align="center">PHPlot Function Reference</th><td width="20%" align="right"> <a accesskey="n" href="Set
RGBArray.html">Next</a></td></tr></table><hr /></div><div class="refentry"><a id="SetPrintImage"></a><div class="titlepage"></div><div class="refnamediv"><h2><span class="refentrytitle">SetPrintImage</span></h2><p>SetPrintImage — Determine whether or not to automatically output the image
when the plot is drawn</p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><pre class="synopsis">$plot->SetPrintImage(<em class="parameter"><code>$pi</code></em>)</pre></div><div class="refsect1"><a id="idp1378718444"></a><h2>Description</h2><p>
<code class="function">SetPrintImage</code> determines whether or not to automatically
output the image (as if <a class="xref" href="PrintImage.html" title="PrintImage"><span class="refentrytitle">PrintImage</span></a> was used) when a plot
is drawn (with <a class="xref" href="DrawGraph.html" title="DrawGraph"><span class="refentrytitle">DrawGraph</span></a>). The default is True.
</p></div><div class="refsect1"><a id="idp1378720212"></a><h2>Parameters</h2><div class="variablelist"><dl class="variablelist"><dt><span class="term"><em class="replaceable"><code>$pi</code></em></span></dt><dd><p>
True to have DrawGraph automatically print (output) the image, False to
prevent DrawGraph from outputting the image.
</p></dd></dl></div></div><div class="refsect1"><a id="idp1378721756"></a><h2>Notes</h2><p>
When putting multiple plots on one image, is is necessary to use
<code class="function">SetPrintImage(False)</code> to defer output of the image
until after all the plots have been drawn.
See <a class="xref" href="adv-multiplot.html" title="4.8. Multiple Plots Per Image">Section 4.8, “Multiple Plots Per Image”</a> for more information on putting
multiple plots on an image.
</p><p>
Calling <code class="function">SetPrintImage(False)</code> is also needed when using
<a class="xref" href="EncodeImage.html" title="EncodeImage"><span class="refentrytitle">EncodeImage</span></a> to return the image data (rather than sending
it to standard output or to a file).
</p></div></div><div class="navfooter"><hr /><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="SetPrecisionY.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="SetRGBArray.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">SetPrecisionY </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> SetRGBArray</td></tr></table></div></body></html>