Skip to content

polar

Plot in polar coordinates.

h = polar(theta, r, ...)

Plots r vs angle theta (in radians) on a polar grid. Equivalent to converting to Cartesian and using plot, but with polar axes.

theta = linspace(0, 2*pi, 100);
polar(theta, 1 + cos(3*theta)) % rose curve
  • compass — Compass plot — vectors radiating from origin.
  • rose — Polar histogram (rose plot).
  • radar — Radar / spider chart.