How to change the view of the new polarplot function
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Vinod
am 31 Mär. 2017
Beantwortet: Divyajyoti Nayak
am 4 Jun. 2025
I want north to be valued at 0 degrees and clock wise increase in theta.
How can I do this with new polarplot function.
The solution provided here:
no longer works.
0 Kommentare
Akzeptierte Antwort
Divyajyoti Nayak
am 4 Jun. 2025
The solution provided in the link has been updated I think and it should work. Setting the 'ThetaZeroLocation' and 'ThetaDir' property of the 'polaraxes' object of the polar plot should give the desired result.
polarplot([0 pi/2 pi],[1 2 3])
pax = gca;
pax.ThetaZeroLocation = 'top';
pax.ThetaDir = 'clockwise';
Here's the documentation for all the properties of the 'polaraxes' object:
0 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Polar Plots finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!