Example with PHPlot

Informations

Author: Ulrich Taaken
License: FPDF

Description

This script shows how to embed a graph generated by PHPlot in a PDF. It makes use of the script Memory images.
The important thing to note is the call to the SetPrintImage() method to prevent the image from being sent to the browser. The GD identifier is then retrieved via $graph->img.