Rose Diagram length-weighted

7 visualizaciones (últimos 30 días)
Marmar
Marmar el 8 de Mzo. de 2017
Respondida: Andras Puszta el 9 de Nov. de 2017
Hi all, I have a two column matrix describing a polyline, one column contains direction of lines and the other is the length of the lines. I want to make a length-weighted rose diagram to show their direction and length distribution both in one rose plot. I have to use the length of each line to weight each bin. I converted lengths to percentage of the total length. But I don't know how to use rose function to make the graph that I want. Any ideas?

Respuestas (2)

Prasad Mendu
Prasad Mendu el 17 de Mzo. de 2017
You can probably use the 'polarhisogram' function to achieve this. Refer to the documentation link below for more information.

Andras Puszta
Andras Puszta el 9 de Nov. de 2017
Hi! I had the same problem, and I've just created a script you can download: https://www.mathworks.com/matlabcentral/fileexchange/65009-weighted-rose
Bests, András Puszta

Categorías

Más información sobre Statistics and Machine Learning Toolbox en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by