Polar Histogram, Circular Bar Graph or Similar

9 views (last 30 days)
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?

Answers (1)

Dongyue
Dongyue on 22 Nov 2022
Hi Luis,
You can refer to the following answer to create a circular bar graph:

Categories

Find more on Polar Plots in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!