How to change the view of the new polarplot function
2 次查看(过去 30 天)
显示 更早的评论
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 个评论
采纳的回答
Divyajyoti Nayak
2025-6-4
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 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Polar Plots 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!