Two-Dimensional Parametric Plots

## Description

Sage can do parametric plots. Below is how Sage plots

(1)\begin{align} x(t) &= \cos t + 2 \cos(t/4) \\ y(t) &= \sin t - 2 \sin(t/4) \end{align}

for $0 < t < 8\pi$.

## Sage Cell

#### Code

```
t = var('t')
parametric_plot([cos(t) + 2 * cos(t/4), sin(t) - 2 * sin(t/4)], (t,0, 8*pi))
```

## Options

#### Option

To fill a parametric plot, use the option `fill = True`. The default is `fill = False`.

#### Code

```
t = var('t')
parametric_plot([cos(t) + 2 * cos(t/4), sin(t) - 2 * sin(t/4)], (t,0, 8*pi), fill=True)
```

## Tags

Primary Tags: two-dimensional plots, precalculus, calculus, multivariable calculus

Secondary Tags: parametric plots

## Related Cells

- Plotting a Circle. Plotting a circle of radius $1$ and center $(0,0)$.
- Plotting a Polygon. Plotting a polygon.
- Two-Dimensional Plots. Plotting $y = \sin(x)$ for $-10 \leq x \leq 10$.
- Line Plots. Constructing line plots from a table of points.

## Attribute

Permalink:

Author: T. Judson

Date: 08 Jul 2017 19:14

Submitted by: Tom Judson