How to remove extra labels from polarplot?

24 views (last 30 days)
Hello
How do i remove the 0.2,0.4 etc labels in this polarplot. Also, I want to rotate the plot so that 90 degrees point is where the zero degree is right now.
  1 Comment
Askic V
Askic V on 20 Feb 2023
Please have a look at this thread:
https://www.mathworks.com/matlabcentral/answers/385797-how-do-you-turn-off-theta-and-radius-labels-in-a-polar-plot

Sign in to comment.

Accepted Answer

Jinal
Jinal on 20 Feb 2023
Hey Mansi,
I understand that you want to remove the RTicklabels from you plot and rotate it by 90 degrees. You can achieve this by using polaraxes properties.
Assuming that the name of yor polaraxes object is ‘pax ’, the following commands can remove the extra labels and rotate the plot.
pax.RTickLabel={};
pax.ThetaZeroLocation=top;
You can refer the ‘Ticks’ section of the following page for more information https://www.mathworks.com/help/matlab/ref/matlab.graphics.axis.polaraxes-properties.html
Hope this helps.

More Answers (0)

Categories

Find more on Polar Plots in Help Center and File Exchange

Products


Release

R2022b

Community Treasure Hunt

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

Start Hunting!