Skip to content

polar

plot · scripts/plot/draw/polar.m

: polar (theta, rho)
: polar (theta, rho, linespec)
: polar (…, prop, val)
: polar (ax, …)
: h = polar (…)

Plot a curve given in polar coordinates.

The angles theta are in radians and rho are the radii; they are vectors of equal length or matrices of equal size (one curve per column). The curve is drawn in Cartesian axes with x = rho .* cos (theta) and y = rho .* sin (theta), over a polar grid. linespec and property/value pairs style the curves.

The vector of line handles is returned.