12.07.2015 Views

MATLAB Function Reference (Volume 2: Graphics)

MATLAB Function Reference (Volume 2: Graphics)

MATLAB Function Reference (Volume 2: Graphics)

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

polarPurpose2polarPlot polar coordinatesSyntaxDescriptionpolar(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 theradius rho. theta is the angle from the x-axis to the radius vector specified inradians; rho is the length of the radius vector specified in dataspace units.polar(theta,rho,LineSpec) LineSpec specifies the line type, plot symbol,and color for the lines drawn in the polar plot.ExamplesCreate a simple polar plot using a dashed, red line:t = 0:.01:2∗pi;polar(t,sin(2∗t).∗cos(2∗t),'−−r')120900.5600.3751500.25300.125180 02103302403002702-364

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!