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


None

## Tags

Primary Tags—Plotting: Two-dimensional plots

Secondary Tags—Two-dimensional plots: Polar plots