FUNCTION REFERENCE
polarplot
Plot in polar coordinates.
Plot in polar coordinates.
Syntax
p = polarplot(theta, rho)Syntax
p = polarplot(theta, rho, linespec)Syntax
p = polarplot(theta1, rho1, ..., thetaN, rhoN)Syntax
p = polarplot(rho)Syntax
p = polarplot(..., Name, Value)Draws lines at angles theta (radians) and radii rho on polar axes with a circle grid, spokes every 30 degrees labelled in degrees, and radius labels. With hold on, further polarplot calls add lines and rescale the grid; without hold, a later plot, bar or other chart replaces the polar axes with Cartesian ones. set and get on the axes (gca) support RLim, RLimMode, ThetaZeroLocation ('right', 'top', 'left', 'bottom') and ThetaDir ('counterclockwise', 'clockwise'). Options: Color, LineWidth, LineStyle and DisplayName; the line handles answer ThetaData and RData.
Example
p = polarplot(linspace(0, 2*pi, 50), 1 + cos(linspace(0, 2*pi, 50))); get(p, 'Type') % 'line'Differences from MATLAB: the polar grid is drawn on Cartesian axes with the tick labels hidden. Equal scaling and label placement assume the default figure size. Points with rho below the lower RLim are not drawn.
These are the engine’s help pages. Each page keeps its compatibility notes. File operations are unavailable in the browser.