Re: [R] Howto modify a drawn graph with igraph

2010-06-07 Thread Uwe Ligges
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,

[R] Howto modify a drawn graph with igraph

2010-06-06 Thread Etienne Cuvelier
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)