Effacer les filtres
Effacer les filtres

How can I change the spacing between gridlines on a polar plot?

2 vues (au cours des 30 derniers jours)
Rose
Rose le 12 Nov 2013
When I draw a polar plot the spacing between the two circular grid line is 2. But I want to have 2.5 spacing

Réponses (1)

Walter Roberson
Walter Roberson le 12 Nov 2013
polar() makes no provision for changing this.
If you want to do it then you will need to read through polar.m and see how it constructs multiple axes, and how it constructs the circles as lines on the plot. Then either copy the source to polar into a new function and modify it for your needs, or else use polar as always but afterwards find the hidden axes and remove the drawn circles and draw new ones.

Catégories

En savoir plus sur Polar Plots dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by