To add two functions use this construction
$fn = new Fun( $xfunc, $yfunc, $gr ); $fn2 = new Fun( $xfunc2, $yfunc2, $gr ); which adds two Function objects to the graph $gr and also "stores" those objects in $fn and $fn2. Both functions will be plotted by the graph. More documentation can be found at: http://webwork.maa.org/doc/cvs/pg_CURRENT/ under Libraries: Fun and WWPlot Macros: PGgraphmacros.pl -- Mike