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

3 visualizzazioni (ultimi 30 giorni)
MANWOO
MANWOO il 17 Ott 2012
Risposto: Adam Danz il 30 Mar 2014
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.....

Risposte (1)

Adam Danz
Adam Danz il 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

Categorie

Scopri di più su Polar Plots in Help Center e File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by