SetOutputFile
Prev | PHPlot Function Reference | Next

## 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.

Prev | Up | Next
SetNumYTicks | Home | SetPieAutoSize