|
From: | Gábor Csárdi |
Subject: | Re: [igraph] make igraph charts wider |
Date: | Tue, 4 Dec 2012 11:21:18 -0500 |
library(igraph)
g <- graph.ring(10)
png("ring.png", width=300, height=150)
par(mar=c(0,0,0,0))
plot(g, asp=0, margin=0)
dev.off()
g2 <- graph.data.frame(data.frame(from=1:10, to=c(2:10,1)))
png("ring2.png", width=300, height=150)
par(mar=c(0,0,0,0))
plot(g2, asp=0, margin=0)
dev.off()
Hi Gabor:Sorry to bother you again. Is it possible to strerch the igraph using data.frame.graph?
On Monday, November 26, 2012 3:02:00 PM UTC-5, Mike Dylan wrote:plot(g, layout = layout.kamada.kawai, vertex.label = V(g)$name, vertex.label.color= "darkblue",edge.arrow.size=0.8, edge.curved=T, edge.label=E(g)$Freq, edge.label.color="#F900F9", edge.label.font=5,vertex.shape="rectangle",edge.color="darkgreen", vertex.color="red"))I tried the above layout type and bunch of other ones but still getting the circular output. I would like to make the chart wider so that it is easlity readable. Is there an option like xaxis max or antything to make this work?
_______________________________________________
igraph-help mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/igraph-help
[Prev in Thread] | Current Thread | [Next in Thread] |