Maple Tutorials
Dr. Elmer K. Hayashi
Created Spring 2001
Plotting Graphs Parametrically in Maple


Curves defined by Parametric Equations.

The equations

x = f(t) y = g(t) t = a .. b

define a curve parametrically. For each t in the interval [a, b] , the point [f(t), g(t)] is a point on the curve.

In Maple, a curve can be plotted using the command plot and specifying the parameter [f(t), g(t), t = a .. b]

as the function to be plotted.

> plot([cos(t),sin(t),t=0..Pi]);

[Maple Plot]

If desired two additional parameters designating the range of the x's and the range of the y's can be added.

> plot([cos(t),sin(t),t=0..Pi],x=-2..2,y=-1..2);

[Maple Plot]

A function such as y = x^2 can be drawn parametrically as follows

> plot([x,x^2,x=-2..2]);

[Maple Plot]

Several curves can be drawn on the same set of axes, by listing them in curly braces.

> plot({[cosh(t),sinh(t),t=-2..2],[-cosh(t),sinh(t),t=-2..2],[t,t,t=-3..3]},x=-2..2,y=-2..2);

[Maple Plot]

Here are some other interesting examples for you to try.

> plot([t*cos(t),t*sin(t),t=0..4*Pi]);

> plot([t+2*sin(2*t),t+2*cos(5*t),t=-2*Pi..2*Pi]);

> plot([2*(theta-sin(theta)),2*(1-cos(theta)),theta=0..5*Pi],x=0..31,y=0..15,title="cycloid");

Last modified 01/12/2001. Email to ekh@wfu.edu