igraph-help
[Top][All Lists]
Advanced

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

[igraph] Better layout output in igraph


From: Håvard Wahl Kongsgård
Subject: [igraph] Better layout output in igraph
Date: Fri, 5 Aug 2011 18:25:24 +0200

Hi, for plotting in python I usually use the matplotlib library, I
have no experience with cairo vectors.

with for example
plot_ca = cairo.PSSurface("/home/havard/ca.ps",300,300)
fig = igraph.Plot(target=plot_ca)
fig.add(i, layout="grid_fruchterman_reingold",
vertex_label=None,vertex_size=0.007, edge_width=0.005,bbox=(180, 180))

the output is often restricted to a small area in the bottom corner of
the ps/pdf document.

I have tried with bbox=None, but with some "cairo surfaces" it fails
with a error like "x = 4, y= -300000". (note cairo.PDFSurface does not
seem to work with igraph at all)

Any tips on how to produce better graph-layout printouts with igraph?
And can igraph create curved edges like gephi?

-- 
Håvard Wahl Kongsgård



reply via email to

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