2.2. Creating the Object

You create a PHPlot object by first including the code to be used, and then defining the variable:

require_once 'phplot.php';  // here we include the PHPlot code 
$plot = new PHPlot;    // here we define the variable

//Rest of code goes below

The above code assigns the PHPlot object to the variable $plot.

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.