Using Pie Charts as nodes in a plot of a graph

3 views (last 30 days)
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 Comments
Victor
Victor on 7 Jul 2020
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.

Sign in to comment.

Accepted Answer

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

More Answers (0)

Community Treasure Hunt

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

Start Hunting!