SetOutputFile

SetOutputFile — Redirect PHPlot output to a file

Synopsis

$plot->SetOutputFile($output_file)

Description

SetOutputFile arranges for image output to be sent to a file instead of to the browser (or standard output). By default, output is sent to the browser (or standard output, if running from the command line).

Parameters

$output_file

Pathname of the file to write the image data into.

Notes

The output file will only be produced if SetIsInline(True) is called.

By default, there is no output file, and the image is written to the browser or standard output.

SourceForge.net 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.