[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [igraph] changing widht and height of the igraph

From: Mike Dylan
Subject: Re: [igraph] changing widht and height of the igraph
Date: Wed, 10 Oct 2012 07:01:59 -0700 (PDT)

Hi Gabor:
I would like to be able to have the flexibility to use all the space in the png file to show the graph. When I use the the default section, all of the vertex's goes on top each other. Do you have an example to use resacle, asp and xlim, ylim parameters to stretch the diagram.
On Tuesday, October 9, 2012 10:26:26 AM UTC-4, Mike Dylan wrote:
I need to write the output of the igraph to a .png file, I am doing this:
png(network.png height=600, width=1200)
  plot(g, layout = layout.fruchterman.reingold,  vertex.label = V(g)$name,  vertex.label.color= "navyblue",  edge.arrow.size=0.9,  edge.curved=T, edge.label=t$count, edge.label.color="darkblue", edge.label.font=12,vertex.shape="circle", vertex.label.dist=0, edge.color="darkgreen", vertex.label.cex=1, vertex.label.font=3, main="Web servers Diagram"))
I still get the same size of image. Depending of the number of nodes (number of rows), I like to change the size of the image. Is there option to chnage the size of the image in igraph?

reply via email to

[Prev in Thread] Current Thread [Next in Thread]