ch2_1.mw


Session 2.1 Simple Plots with plot

> restart;

> plot(t*cos(t)*exp(-t),t=0..2*Pi);One plot of a function over a specified range

[Plot]

use ?plot to see some of the options that can be used with plot.  Here are two functions plotted in different styles and colors.

> plot([-sin(x),x-x^3/6],x=0..3,color=[red,blue],style=[point,line]);

[Plot]

>