Using Pie Charts as nodes in a plot of a graph

1 回表示 (過去 30 日間)
Victor
Victor 2020 年 7 月 7 日
回答済み: jonas 2020 年 7 月 7 日
I am plotting a graph. To plot it I am using a adjacency matrix. I would like to visualize some data.
Therefore it would be great if every node of the graph would be a piechart. Do you have any idea how to create such a plot?
I am currently using the build in graph class of matlab. However there is no propertie to do such a thing, I believe.
This the graph in question. Now I would like to substitute the blue dots by pie charts. So for example the whole of 1,2,3,10 is blue, about a quarter of blue at 4,5,6,7,8,9 and the other nodes a red.
  2 件のコメント
jonas
jonas 2020 年 7 月 7 日
I think you'll have to provide some data and perhaps a sketch to visulize what you want to do.
Victor
Victor 2020 年 7 月 7 日
Hey Jonas,
I added a picture of the plot right now.
I would like to change the dots in a way, that you can see which proportion of them carries what kind of attribute.

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

採用された回答

jonas
jonas 2020 年 7 月 7 日
I was quite surprised to find a FEX function that seems to do exactly what you're looking for. You could try this:

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangePie Charts についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by