Urgent! .....Compass plot
4 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Thulasi Durai Durai Samy
am 9 Mai 2012
Beantwortet: Abby Skofield
am 4 Okt. 2024
How to set the axis limits for compass plot. I want to set axis from 0 to 360 degree in clockwise direction.
1 Kommentar
Walter Roberson
am 9 Mai 2012
http://www.mathworks.com/matlabcentral/answers/29922-why-your-question-is-not-urgent-or-an-emergency
Akzeptierte Antwort
Geoff
am 9 Mai 2012
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 Kommentare
Weitere Antworten (1)
Abby Skofield
am 4 Okt. 2024
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 Kommentare
Siehe auch
Kategorien
Mehr zu Lighting, Transparency, and Shading finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!