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.

 Réponse acceptée

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')))

Plus de réponses (0)

Catégories

En savoir plus sur Polar Plots dans Centre d'aide et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by