How can I change polar plot's degree of interval?

4 views (last 30 days)
Hi, Guys.
I have a question.
When I plotted polar plot, plot's interval of degree is 30.
I want to change this interval.
So, I want to make plot's interval of degree to 15.
How do I.....

Answers (1)

Adam Danz
Adam Danz on 30 Mar 2014
Hello, I had the same issue and couldn't find a solution so I wrote a code that does the trick.
After creating your polar plot, you can run this code to adjust the circumference intervals and tickmarks. For example,
p = polar (deg2rad([25, 25]), [0, 33])
h = polarticks(8, p)
This will remove all radii and ticks and replace them with 8 equally spaced intervals (ie, 45 deg). See description within code for more details.
Adam

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!