MATLAB Functions | Help Desk |
polar
Plot polar coordinatespolar(theta,rho)
polar(theta,rho,LineSpec
)
The polar
function accepts polar coordinates, plots them in a Cartesian plane, and draws the polar grid on the plane.
polar(theta,rho)
creates a polar coordinate plot of the angle theta
versus the radius rho
. theta
is the angle from the x-axis to the radius vector specified in radians; rho
is the length of the radius vector specified in dataspace units.
polar(theta,rho,LineSpec
)
specifies the line type, plot symbol, and color for the lines drawn in the polar plot.
Create a simple polar plot:
t = 0:.01:2*pi; polar(t,
sin(2*t).*cos(2*t))
cart2pol
, compass
, plot
, pol2cart
, rose