Removing or altering an axis of a polar plot

5 vues (au cours des 30 derniers jours)
Jakob Sievers
Jakob Sievers le 11 Sep 2012
Réponse apportée : ag le 7 Mai 2025
Hi guys
I am tinkering around with a polar plot and the axes are puzzling me a bit. I am trying to either alter the Xticklabels of the radial axis, or alternatively remove them entirely. Both operations are straight forward in a regular plot(x,y) scenario, but I can't seem to make this work with a polar plot.
Any suggestions?
Thanks in advance

Réponses (1)

ag
ag le 7 Mai 2025
Hi Jakob,
To remove the axes in the polar plot, you will need to set the polar plot property "RGrid" and "ThetaGrid", as off.
Furthermore, the tickvalues can be specified using the polar plot property "RTick" as per need.
For more details, please refer to the following MathWorks documentation: https://www.mathworks.com/help/matlab/ref/matlab.graphics.axis.polaraxes-properties.html
Hope this helps!

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