Removing or altering an axis of a polar plot

4 次查看(过去 30 天)
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

回答(1 个)

ag
ag 2025-5-7
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!

类别

Help CenterFile Exchange 中查找有关 Polar Plots 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by