How to remove extra labels from polarplot?

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 Commento

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

Accedi per commentare.

 Risposta accettata

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.

Più risposte (0)

Categorie

Prodotti

Release

R2022b

Richiesto:

il 20 Feb 2023

Risposto:

il 20 Feb 2023

Community Treasure Hunt

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

Start Hunting!

Translated by