> plot([t^2, 1 - t^2, t=0..1]); # fit curve between x and y axis -------------------------------------------------------------------------------- > plot(e^x*(1-x),x=0..1,y=0..1); -------------------------------------------------------------------------------- > subs(x=0.5,e^x*(1-x)); .5 .5 e -------------------------------------------------------------------------------- > evalf("); .5 .5 e -------------------------------------------------------------------------------- > plot(E^x*(1-x),x=0..1,y=0..1); -------------------------------------------------------------------------------- > ?plot3d -------------------------------------------------------------------------------- > plot3d(sin(x*y),x=-Pi..Pi,y=-x..x); # plot a surface -------------------------------------------------------------------------------- > plot3d([u+v, u-v, u*v], u=0..1, v=0..1); # plot another surface -------------------------------------------------------------------------------- > plot3d([u, v, u+v], u=0..1, v=0..1); # parametric plot -------------------------------------------------------------------------------- > plot3d([cos(t), sin(t), z], t=0..2*Pi, z=-2..2); # cylinder -------------------------------------------------------------------------------- > plot3d([x, cos(t), sin(t)], x=-2..2, t=0..2*Pi); # cylinder -------------------------------------------------------------------------------- > plot3d([cos(t)*cos(s), sin(t)*cos(s), sin(s)], t=0..2*Pi, s=0..2*Pi); # sphere -------------------------------------------------------------------------------- > plot3d([cos(t)*sqrt(1-s^2), sin(t)*sqrt(1-s^2), s], > t=0..2*Pi, s=0..1); # sphere -------------------------------------------------------------------------------- > plot3d([x,y,1],x=0..1, y=0..1); # top face of cube -------------------------------------------------------------------------------- > ?plot3d -------------------------------------------------------------------------------- > plot3d({[x,y,1],[x,y,0], [1,x,y], [0,x,y], [x,1,y], [x,0,y]}, > x=0..1, y=0..1); # cube -------------------------------------------------------------------------------- >