Using Pie Charts as nodes in a plot of a graph

2 vues (au cours des 30 derniers jours)
Victor
Victor le 7 Juil 2020
Réponse apportée : jonas le 7 Juil 2020
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 commentaires
jonas
jonas le 7 Juil 2020
I think you'll have to provide some data and perhaps a sketch to visulize what you want to do.
Victor
Victor le 7 Juil 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.

Connectez-vous pour commenter.

Réponse acceptée

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

Plus de réponses (0)

Catégories

En savoir plus sur 2-D and 3-D Plots dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by