Hi, Is there a way of increasing the resolution of the graph_draw output? I am looking for something like a DPI setting as exists in e.g. matplotlib. I am trying to generate plots in publication quality but currently find myself having to scale the size of the plot up to then compress the final image back down to my required dimensions to increase the resolution which seems cumbersome. Does such an option exist? Or is there a better way of achieving this? Best, Philipp -- View this message in context: http://main-discussion-list-for-the-graph-tool-project.982480.n3.nabble.com/... Sent from the Main discussion list for the graph-tool project mailing list archive at Nabble.com.
On 18.01.2017 16:59, P-M wrote:
Hi,
Is there a way of increasing the resolution of the graph_draw output? I am looking for something like a DPI setting as exists in e.g. matplotlib. I am trying to generate plots in publication quality but currently find myself having to scale the size of the plot up to then compress the final image back down to my required dimensions to increase the resolution which seems cumbersome. Does such an option exist? Or is there a better way of achieving this?
The output_size parameter to graph_draw() does what you want. You might also consider using vector formats such as PDF or SVG. -- Tiago de Paula Peixoto <tiago@skewed.de>
participants (2)
-
P-M -
Tiago de Paula Peixoto