Reputation: 40176
I have generated a few network graphs in igraph. I like to use tkplot, however, after resizing the window manually and changing the layout, my machine freezes up when I try to export or even take a screenshot of the graph.
Any ideas? My machine is Windows XP Pro and has 2GB memory.
Many thanks in advance.
Upvotes: 1
Views: 847
Reputation: 108583
I can't reproduce your error on Windows 7. What you can try is
This can be done by:
g <- graph.ring(10)
x <- tkplot(g,canvas.width=800, canvas.height=800)
tkplot.export.postscript(x)
Worst case scenario you could extract the coordinates using tkplot.getcoords(x)
and use the base plot functions to reconstruct the graph. This is a whole lot trickier off course, as you have to keep track of which vertices are connected and which not.
Upvotes: 2