Hello all,
I am very beginner of creating figures in MATLAB. so, I need some help.
I want to create a 90 degree rose plot like in this image below (Sorry for bad resolution!):
Like in the figure, it looks like polar histogram or rose digram, but it shows only 0 to 90 deg.
I have no idea how to plot only this part.
Can you help me to draw like the image that I upload?
Thank you,
HyoJae.

 採用された回答

Angelo Yeo
Angelo Yeo 2023 年 8 月 23 日
編集済み: Angelo Yeo 2023 年 8 月 23 日

2 投票

rng(1); % for reproduction
theta = atan2(rand(1000, 1), rand(1000, 1));
polarhistogram(theta, 30);
thetalim([0, 90])

2 件のコメント

HyoJae Lee
HyoJae Lee 2023 年 8 月 23 日
Appreciated!
Leo Valon
Leo Valon 2024 年 6 月 25 日
nice!

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

その他の回答 (1 件)

Dyuman Joshi
Dyuman Joshi 2023 年 8 月 23 日

1 投票

Adjust the theta limits -
%Random data
theta = atan2(rand(100000,1)-0.5,2*(rand(100000,1)-0.5));
polarhistogram(theta,25)
%Get current axes
ax=gca;
%Modify the theta limits accordingly
ax.ThetaLim = [0 90];

2 件のコメント

HyoJae Lee
HyoJae Lee 2023 年 8 月 23 日
Appreciated!
It is very helpful!
Leo Valon
Leo Valon 2024 年 6 月 25 日
Helpfull

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

カテゴリ

ヘルプ センター および File Exchange で Polar Plots についてさらに検索

製品

リリース

R2021a

タグ

質問済み:

2023 年 8 月 23 日

コメント済み:

2024 年 6 月 25 日

Community Treasure Hunt

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

Start Hunting!

Translated by