필터 지우기
필터 지우기

How to remove extra labels from polarplot?

조회 수: 5 (최근 30일)
Mansi Tundele
Mansi Tundele 2023년 2월 20일
답변: Jinal 2023년 2월 20일
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
Askic V
Askic V 2023년 2월 20일
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

댓글을 달려면 로그인하십시오.

채택된 답변

Jinal
Jinal 2023년 2월 20일
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.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Polar Plots에 대해 자세히 알아보기

제품


릴리스

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by