SetPrintImage — Determine whether or not to automatically output the image when the plot is drawn




SetPrintImage determines whether or not to automatically output the image (as if PrintImage was used) when a plot is drawn (with DrawGraph). The default is True.



True to have DrawGraph automatically print (output) the image, False to prevent DrawGraph from outputting the image.


When putting multiple plots on one image, is is necessary to use SetPrintImage(False) to defer output of the image until after all the plots have been drawn. See Section 4.8, “Multiple Plots Per Image” for more information on putting multiple plots on an image.

Calling SetPrintImage(False) is also needed when using EncodeImage to return the image data (rather than sending it to standard output or to a file). Logo

This version of the manual was produced for the PHPlot Sourceforge project web service site, which requires the logo on each page.

To download a logo-free copy of the manual, see the PHPlot project downloads area.