필터 지우기
필터 지우기

Polar Histogram, Circular Bar Graph or Similar

조회 수: 8 (최근 30일)
Luis Eduardo Cofré Lizama
Luis Eduardo Cofré Lizama 2021년 2월 10일
답변: Dongyue 2022년 11월 22일
Hi All, I am trying to create a kind of polar histogram, "kind" because not sure if that's what I need.
1) I have a matrix with the number of times an element appears in a dataset and I have 373 elements (data below).
2) I need a polar histogram that depicts the number of times per each element (as in figure 1 but in a circle).
3) I have tried rose and polarhistogram, however I dont understand what is the unit that data is presented. For example my max value is 518 but in the polar histogram is 335 and the axis ranges from 0 to 400.
4) Finally I need to group data by colors using the folowing data as the start for each group (30 groups)
start = [1,23,41,47,63,77,88,106,116,142,148,166,187,196,207,218,237,244,258,271,284,298,318,325,333,339,344,354,359,368];
freq1 = [0;0;0;0;1;0;0;0;11;0;0;2;0;0;0;0;0;0;2;0;0;0;0;0;0;0;0;0;0;0;0;0;1;0;4;0;23;0;0;0;0;0;0;0;0;0;10;1;0;0;0;16;0;1;0;0;0;68;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;11;0;0;0;0;0;0;8;0;11;0;0;0;518;0;0;0;0;17;3;21;2;4;1;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;3;2;0;0;0;0;0;0;0;0;74;24;0;0;0;0;1;0;0;27;5;1;2;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;2;2;0;1;0;0;0;0;0;0;0;0;0;0;0;0;0;0;141;5;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;15;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;1;0;0;0;0;0;0;0;0;0;0];
Thanks so much!!!!
Regards
Eduardo
NOTE: perhaps the best description is that I need a CIRCULAR BAR GRAPH?
  댓글 수: 1
Scott MacKenzie
Scott MacKenzie 2021년 5월 6일
Your queston references an attached figure. No figure was attached.

댓글을 달려면 로그인하십시오.

답변 (1개)

Dongyue
Dongyue 2022년 11월 22일
Hi Luis,
You can refer to the following answer to create a circular bar graph:

카테고리

Help CenterFile Exchange에서 Polar Plots에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by