plot module: (C) 2001,2002 Sebastian Ritterbusch

Using gnuplot rascal can plot functions:

 >f(x)=(x^3)/30-2*x+2;
 >plot[f;-10;10;0.1];

This will plot the function f from -10 to 10 computing value with step size
0.1. This is a very basic plotting support and it is likely that the syntax
will change in later version.

If the taylor module is included, you may also plot derivatives, but
currently you have to define a new function for that. Here you also see how
to create a postscript file with the plot.

 >f(x)=(x^3)/30-2*x+2;
 >g(x)=f'(x);
 >plotOutput("derivative.ps");
 >plot[f;-10;10;0.1];

See the help for pplot and splot for information about parametric and 
surface plots.