how to convert radial axis of polar plot in percentage??

8 ビュー (過去 30 日間)
Vishnu Dhakad
Vishnu Dhakad 2020 年 3 月 12 日
コメント済み: Vishnu Dhakad 2021 年 10 月 6 日
I have used following code (please find the attached image)
polarhistogram(ax2,deg2rad(wind_direction2(wind_speed2<q)),deg2rad(0:22.5:360),'displayname','>10 m/s')
hold on
polarhistogram(ax2,deg2rad(wind_direction2(wind_speed2<10)),deg2rad(0:22.5:360),'FaceColor','m','displayname','6 - 10 m/s')
polarhistogram(ax2,deg2rad(wind_direction2(wind_speed2<6)),deg2rad(0:22.5:360),'FaceColor','red','displayname','5 - 6 m/s')
polarhistogram(ax2,deg2rad(wind_direction2(wind_speed2<5)),deg2rad(0:22.5:360),'FaceColor','yellow','displayname','3 - 5 m/s')
polarhistogram(ax2,deg2rad(wind_direction2(wind_speed2<3)),deg2rad(0:22.5:360),'FaceColor','green','displayname','2 - 3 m/s')
polarhistogram(ax2,deg2rad(wind_direction2(wind_speed2<2)),deg2rad(0:22.5:360),'FaceColor','blue','displayname','0 - 2 m/s')
ax2.ThetaDir = 'clockwise';
ax2.ThetaZeroLocation = 'top';
legend('Show')
title('Wind Rose')
thetaticks(0:22.5:360)
Thank you
  3 件のコメント
Vishnu Dhakad
Vishnu Dhakad 2020 年 7 月 14 日
Please find the attached image
I want on radial axis in percentage but it is in showing between 0 to 1.
Vishnu Dhakad
Vishnu Dhakad 2021 年 10 月 6 日
Hi,
I have used following code to get it.
ax1.RTickLabel = compose('%2.0f%%', RT*100);
Thanks for your responce

サインインしてコメントする。

回答 (0 件)

カテゴリ

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

製品


リリース

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by