[R] plot - kamada.kawai layout without arrows

kparamas kparamas at asu.edu
Tue Apr 12 00:09:26 CEST 2011


Hi,

I am plotting a graph with kamada.kawai layout. 

But I am getting direction arrows in the graphs.
Please let me know how to avoid this.

g <- watts.strogatz.game(1, 2000, 5, 0.4)

 comps <- clusters(g)$membership
 colbar <- rainbow(max(comps)+1)
 V(g)$color <- colbar[comps+1]

png(filename)
plot(g, layout=layout.kamada.kawai, vertex.size=2, vertex.label=NA)
dev.off()

Please find attached the figure with arrows..
http://r.789695.n4.nabble.com/file/n3443258/cdata1_plot.png 


--
View this message in context: http://r.789695.n4.nabble.com/plot-kamada-kawai-layout-without-arrows-tp3443258p3443258.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list