Next: SIMPLIFICATION Up: A Short Maple Primer Previous: CONDITIONAL CLAUSES

PLOTTING

If you are interested in plotting, run Maple under X-windows or on a 386, etc. Useful plot commands are: plot, plot3d, tubeplot, spacecurve

The syntax of plot and plot3d is hopefully obvious from the examples below. They can both take a set of functions as their first argument.

The advanced plot-functions have to be loaded with the command > with(plots);

Some simple examples:


> plot(sin(x), x=0..2*Pi);
> plot({sin(x), x-x^3/6}, 0..2);
> f:=exp(-x^2-2*y^2)-sin(7*x)/8:
> plot3d(f,x=-1..1,y=-1..1);


bondaren@thsun1.jinr.ru