How can I rotate the axis for a polar plot?
Show older comments
Hi,
Would anyone know how to adjust (rotate) the polar plot function such that the vertical axis starts at 0 degrees - as opposed to 90?
theta=0:0.1:2*pi;
e=cos(theta);
polar(theta,e);
Kind regards,
Accepted Answer
More Answers (1)
Steve Snarski
on 25 Sep 2019
Use axes properties. To rotate theta = 0 from right side [default] to bottom use following:
set(gca,'ThetaZeroLocation','bottom')
1 Comment
mahmoud deghedy
on 23 Dec 2020
U R a Legend
Categories
Find more on Polar Plots in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!