Plotting Parametric Curves

ParametricPlot can produce a 2-D graph as a function of a single parameter, e.g. t. The cartesian coordinates, e.g. x and y, are specified as functions x(t) and y(t). Thus, a continuous variation of the single parameter t will trace out a trajectory in the x-y plane.  If two parameters are given, then ParametricPlot will fill the region x(r,t), y(r,t).

"index_35.gif"

"index_36.gif"

Let's create a function that returns a list {x(t), y(t)} as a function of its argument t. We add a parameter n to make things interesting to look at...

"index_37.gif"

We use ParametricPlot on our function for n=5

"index_38.gif"

"index_39.gif"

We can use Manipulate to view how the plot changes with the parameter n, and also change the last point drawn to see how the curve gets traced out.

"index_40.gif"

"index_41.gif"

To demonstrate Parametrtic plot of a region, let's create a function that returns a list {x(r,t), y(r,t)} as a function of its arguments r and t. We add a parameter n to make things interesting to look at...

"index_42.gif"

If we fix r, this is a one dimensional curve as above.

"index_43.gif"

"index_44.gif"

Now we let both r and t vary. Some regions in the disk r ∈ (0.25,0.75) don't get covered, and others get covered one or more times.

"index_45.gif"

"index_46.gif"

Just to demonstrate a pretty picture and to show  what kinds of things are possible without going into details, we use a Pure Function as the ColorFunction option.

"index_47.gif"

"index_48.gif"


Created by Wolfram Mathematica 6.0  (28 August 2007) Valid XHTML 1.1!