Pie charts as vertices

0th

Percentile

Using pie charts as vertices in graph plots

More complex vertex images can be used to express addtional information about vertices. E.g. pie charts can be used as vertices, to denote vertex classes, fuzzy classification of vertices, etc.

Keywords
graphs
Details

The vertex shape pie makes igraph draw a pie chart for every vertex. There are some extra graphical vertex parameters that specify how the pie charts will look like: [object Object],[object Object],[object Object],[object Object],[object Object],[object Object]

concept

Vertex shapes

See Also

igraph.plotting, plot.igraph

Aliases
  • vertex.shape.pie
Examples
g <- make_ring(10)
values <- lapply(1:10, function(x) sample(1:10,3))
if (interactive()) {
  plot(g, vertex.shape="pie", vertex.pie=values,
       vertex.pie.color=list(heat.colors(5)),
       vertex.size=seq(10,30,length=10), vertex.label=NA)
}
Documentation reproduced from package igraph, version 1.0.0, License: GPL (>= 2)

Community examples

Looks like there are no examples yet.