[R] plot - kamada.kawai layout without arrows

From: kparamas <kparamas_at_asu.edu>
Date: Mon, 11 Apr 2011 15:09:26 -0700 (PDT)


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]

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.

R-help_at_r-project.org mailing list
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
Received on Tue 12 Apr 2011 - 04:04:43 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Tue 12 Apr 2011 - 15:30:28 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive