Urgent! .....Compass plot
4 ビュー (過去 30 日間)
古いコメントを表示
How to set the axis limits for compass plot. I want to set axis from 0 to 360 degree in clockwise direction.
1 件のコメント
Walter Roberson
2012 年 5 月 9 日
http://www.mathworks.com/matlabcentral/answers/29922-why-your-question-is-not-urgent-or-an-emergency
採用された回答
Geoff
2012 年 5 月 9 日
Why is this urgent?
Try this:
set(gca,'xdir','reverse')
Or if you want the zero on the right as normal, do this instead:
set(gca,'ydir','reverse')
4 件のコメント
その他の回答 (1 件)
Abby Skofield
2024 年 10 月 4 日
Starting in R2024b, the compassplot function can be used in place of compass to create arrows eminating from the origin of a polar axes. The PolarAxes class has many properties and several functions you can use to customize its appearance, like the direction. Note that compassplot can be combined in a PolarAxes with other plots like polarhistogram, polarplot, polarscatter, etc.
t = linspace(0,3*pi/2,10);
pax = polaraxes;
cp = compassplot(t,10:-1:1); % new in R2024b
pax.ThetaDir = "clockwise";
pax.ThetaZeroLocation = "top";
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Lighting, Transparency, and Shading についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!