igraph-help
[Top][All Lists]
Advanced

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

Re: [igraph] slow plotting (igraph 0.6.5-2, MacOS)


From: Baptiste Coulmont
Subject: Re: [igraph] slow plotting (igraph 0.6.5-2, MacOS)
Date: Tue, 2 Jul 2013 11:55:24 -0700 (PDT)

pdf("plot.pdf") is indeed much faster : 0.158 seconds.
My problem wasn't linked to igraph, but to quartz()

Thanks
B. Coulmont
 
. .
Baptiste Coulmont
address@hidden
--------

From: Gábor Csárdi <address@hidden>
To: Baptiste Coulmont <address@hidden>; Help for igraph users <address@hidden>
Sent: Tuesday, July 2, 2013 3:12 PM
Subject: Re: [igraph] slow plotting (igraph 0.6.5-2, MacOS)

Hi, 

are you sure, this is igraph? 

Can you try 1) plotting to a PDF device instead of quartz() or x11() which take a long time to start, and also 2) plotting something else instead of an igraph graph, of comparable size, e.g. 100 circles and 100 segments? 

Thanks,
Gabor


On Tue, Jul 2, 2013 at 8:33 AM, Baptiste Coulmont <address@hidden> wrote:
Hi

I see that plot.igraph is much slower now than before 
It seems that only MacOS is affected (plotting is much faster on Windows)

I need 18 seconds with the code below [R 3.0.1, MacOS 10.8.4, 2011 MacAir]
library(igraph)
r=erdos.renyi.game(100,p=0.1)
system.time(plot.igraph(r,layout=layout.circle))
 
Best regards,
B. Coulmont
. .
Baptiste Coulmont
address@hidden
--------

_______________________________________________
igraph-help mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/igraph-help





reply via email to

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