How to change the view of the new polarplot function

3 ビュー (過去 30 日間)
Vinod
Vinod 2017 年 3 月 31 日
回答済み: Divyajyoti Nayak 2025 年 6 月 4 日
How to change the view of the new polarplot function: Polarplot
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.

採用された回答

Divyajyoti Nayak
Divyajyoti Nayak 2025 年 6 月 4 日
Hi @Vinod,
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 件)

カテゴリ

Help Center および File ExchangePolar Plots についてさらに検索

タグ

製品

Community Treasure Hunt

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

Start Hunting!

Translated by