Clear Filters
Clear Filters

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

2 views (last 30 days)
When I draw a polar plot the spacing between the two circular grid line is 2. But I want to have 2.5 spacing

Answers (1)

Walter Roberson
Walter Roberson on 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.

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!