Polar Plotting
Description
When plotting in polar coordinates, $\theta$ is the input variable and $r$ is the output. The Sage cell below plots the function
(1)\begin{align} r( \theta) = 3 \sin ( 3\theta ), \end{align}
which is a three-leaf rose.
Sage Cell
Code
var( "theta" )
p = polar_plot( 3 * sin( 3 * theta ), (theta, 0, 2*pi), frame = True )
p
Options
None
Tags
Primary Tags—Plotting: Two-dimensional plots
Secondary Tags—Two-dimensional plots: Polar plots
Related Cells
- Two-Dimensional Plots. Plotting $y = \sin(x)$ for $-10 \leq x \leq 10$.
- Occasional Issues in Polar Plotting. Problems with certain polar functions in Sage.
Attribute
Permalink:
Author:
Date: 30 Oct 2018 17:09
Submitted by: James A Phillips