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
[email protected]
--------
________________________________
From: Gábor Csárdi <[email protected]>
To: Baptiste Coulmont <[email protected]>; Help for igraph users
<[email protected]>
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 <[email protected]> wrote:
Hi
>
>
>As with http://lists.nongnu.org/archive/html/igraph-help/2013-02/msg00118.html
>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
>[email protected]
>--------
>_______________________________________________
>igraph-help mailing list
>[email protected]
>https://lists.nongnu.org/mailman/listinfo/igraph-help
>
>
_______________________________________________
igraph-help mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/igraph-help