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: Plotting: Two-dimensional plots

Secondary Tags: Two-dimensional plots: Parametric plots

Related Cells

Attribute

Permalink:

Author: T. Judson

Date: 08 Jul 2017 19:14

Submitted by: Tom Judson

Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License