WeBWorK Main Forum

parametric plots

Re: parametric plots

by Michael Gage -
Number of replies: 0
(it's the < sign that was interpreted as an HTML markup that caused the trouble in the post. )

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:



Libraries: Fun and WWPlot

Macros: PGgraphmacros.pl

-- Mike