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 CenterFile Exchange에서 Pie Charts에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by