Parametric Plots

"Basic Plotting" describes how to plot curves in the Wolfram Language in which you give the coordinate of each point as a function of the coordinate. You can also use the Wolfram Language to make parametric plots. In a parametric plot, you give both the and coordinates of each point as a function of a third parameter, say .

ParametricPlot[{fx,fy},{t,tmin,tmax}]
make a parametric plot
ParametricPlot[{{fx,fy},{gx,gy},},{t,tmin,tmax}]
plot several parametric curves together

Functions for generating parametric plots.

Here is the curve made by taking the coordinate of each point to be Sin[t] and the coordinate to be Sin[2t].
In[1]:=
Click for copyable input
Out[1]=
ParametricPlot3D[{fx,fy,fz},{t,tmin,tmax}]
make a parametric plot of a threedimensional curve
ParametricPlot3D[{fx,fy,fz},{t,tmin,tmax},{u,umin,umax}]
make a parametric plot of a threedimensional surface
ParametricPlot3D[{{fx,fy,fz},{gx,gy,gz},},]
plot several objects together

Threedimensional parametric plots.

ParametricPlot3D[{fx,fy,fz},{t,tmin,tmax}] is the direct analog in three dimensions of ParametricPlot[{fx,fy},{t,tmin,tmax}] in two dimensions. In both cases, the Wolfram Language effectively generates a sequence of points by varying the parameter t, then forms a curve by joining these points. With ParametricPlot, the curve is in two dimensions; with ParametricPlot3D, it is in three dimensions.

This makes a parametric plot of a helical curve. Varying produces circular motion in the - plane, and linear motion in the direction.
In[2]:=
Click for copyable input
Out[2]=

ParametricPlot3D[{fx,fy,fz},{t,tmin,tmax},{u,umin,umax}] creates a surface, rather than a curve. The surface is formed from a collection of quadrilaterals. The corners of the quadrilaterals have coordinates corresponding to the values of the when t and u take on values in a regular grid.

Here the and coordinates for the quadrilaterals are given simply by and . The result is a surface plot of the kind that can be produced by Plot3D.
In[3]:=
Click for copyable input
Out[3]=
This shows the same surface as before, but with the coordinates distorted by a quadratic transformation.
In[4]:=
Click for copyable input
Out[4]=
This produces a helicoid surface by taking the helical curve shown above, and at each section of the curve drawing a quadrilateral.
In[5]:=
Click for copyable input
Out[5]=

In general, it is possible to construct many complicated surfaces using ParametricPlot3D. In each case, you can think of the surfaces as being formed by "distorting" or "rolling up" the - coordinate grid in a certain way.

This produces a cylinder. Varying the parameter yields a circle in the - plane, while varying moves the circles in the direction.
In[6]:=
Click for copyable input
Out[6]=
This produces a torus. Varying yields a circle, while varying rotates the circle around the axis to form the torus.
In[7]:=
Click for copyable input
Out[7]=
This produces a sphere.
In[8]:=
Click for copyable input
Out[8]=

You should realize that when you draw surfaces with ParametricPlot3D, the exact choice of parametrization is often crucial. You should be careful, for example, to avoid parametrizations in which all or part of your surface is covered more than once. Such multiple coverings often lead to discontinuities in the mesh drawn on the surface, and may make ParametricPlot3D take much longer to render the surface.