See ?plot.igraph, example:
plot(g, layout=mlayout,
vertex.label.color = red,
vertex.color = green,
vertex.frame.color = blue,
edge.color = orange,
edge.width = 1 + (1:18)/2
)
Uwe Ligges
On 06.06.2010 17:58, Etienne Cuvelier wrote:
Hello,
I am using the igraph package,
Hello,
I am using the igraph package, and I wonder how to add or modify
informations on a drawn graph.
Example:
library(igraph)
M - matrix( nc=12, nr=12 , 0)
M[ 1,]=c(0,1,0,0,1,1,0,0,0,0,0,0)
M[ 2,]=c(1,0,1,1,1,0,0,0,0,0,0,0)
M[ 3,]=c(0,1,0,0,0,1,1,0,0,0,0,0)
M[ 4,]=c(0,1,0,0,0,1,0,0,0,0,0,0)
2 matches
Mail list logo