Removing or altering an axis of a polar plot

조회 수: 6 (최근 30일)
Jakob Sievers
Jakob Sievers 2012년 9월 11일
답변: ag 2025년 5월 7일
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