Filter löschen
Filter löschen

How to remove extra labels from polarplot?

5 Ansichten (letzte 30 Tage)
Mansi Tundele
Mansi Tundele am 20 Feb. 2023
Beantwortet: Jinal am 20 Feb. 2023
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 Kommentar
Askic V
Askic V am 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

Melden Sie sich an, um zu kommentieren.

Akzeptierte Antwort

Jinal
Jinal am 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.

Weitere Antworten (0)

Kategorien

Mehr zu Polar Plots finden Sie in Help Center und File Exchange

Produkte


Version

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by