2D polar plot with colors according to an array
Mostrar comentarios más antiguos
Dear everybody,
I have 359 histograms of data, refering to a data computed in several directions, and i want to plot them in a 2D polar way, as if each histogram was starting from the center of the circle and developing into their own directions, the binning is the same for all the histograms, the maximum value too. The color should refer to the frequency. I have collected everything in a structure, I have extracted the frequencies in vectors, but I don't know how to plot them.
Here the meaningful part of the code:
for deg = 1:359
c = histcounts(data(deg).lensF, [0:5:max_chord]);
data(deg).freq = c;
end
Respuestas (1)
Chaitanya Mallela
el 14 de Jul. de 2020
0 votos
Refer the documentation polarhistogram
1 comentario
Tommaso Taormina
el 14 de Jul. de 2020
Categorías
Más información sobre Histograms en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
