Make your own free website on

An Example of Using and pgperl

A perl CGI program that allows you to enter a function of x and have it plotted. Click here if you want to see the source code. The program makes use of the pgperl and modules.

Font Selection:

Label Size:

Plotting Range:
x min: x max:

A Function of x :
f (x) =

Note: As well as the usual arithmetic operators, the following perl mathematical functions are supported: atan2 cos exp int log rand sin sqrt. Any undefined values of a function are set to zero.

A graph