Using Pie Charts as nodes in a plot of a graph

1 次查看(过去 30 天)
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 CenterFile Exchange 中查找有关 2-D and 3-D Plots 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by