Could anyone point me in the direction of being able to produce a bar graph on a circular axis like in the picture attached? (Not asking for complete code, just a pointer).

 採用された回答

John D'Errico
John D'Errico 2023 年 1 月 4 日
編集済み: John D'Errico 2023 年 1 月 4 日

0 投票

Just to make up some data...
n = 100;
theta = linspace(0,2*pi,n);
r = 10 + rand(1,n);
r = [r;r+1+rand(1,n)];
Ok. now I have some data. Just call polar.
polar([theta;theta],r,'-')

1 件のコメント

Harrison Chong
Harrison Chong 2023 年 1 月 5 日
Thank you for answering! I guess I was stuck on the fact that I wanted a bar graph, but these lines work just fine.

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

その他の回答 (0 件)

カテゴリ

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

Community Treasure Hunt

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

Start Hunting!

Translated by