Hello, I'm new at MATLAB. Is there a way to fix my Roh axis in mmpolar.m? It shows "3 x 10^3" as value, but I it should be 3000. I don't get it. Thanks a lot.

 채택된 답변

Kelly Kearney
Kelly Kearney 2016년 2월 1일

1 개 추천

You'll have to manually label the ticks if you prefer a different number format (the same is true for regular axes, although I believe regular axes tick labels switch to scientific notation at 10^4 rather than 10^3):
th = linspace(0,2*pi,100);
r = cos(th) * 3000;
rtk = (-1:2:3)*1000;
mmpolar(th, r, 'rtickvalue', rtk, 'rticklabel', cellstr(num2str(rtk')))

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Polar Plots에 대해 자세히 알아보기

질문:

2016년 2월 1일

답변:

2016년 2월 1일

Community Treasure Hunt

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

Start Hunting!

Translated by