high resolution image - matplotlib
Hi experts!
How can i generate matplotlib graphs in custom resolution (for example: 1020p)?
waiting for your answers.
Thanks a lot!
Hi experts!
How can i generate matplotlib graphs in custom resolution (for example: 1020p)?
waiting for your answers.
Thanks a lot!
Go for a vector format, like svg or pdf, and then open in, say, Gimp. At the moment of opening, you can specify the resolution easily.
You can refer to this online image processing tutorial to see the image resolution solutions, with the mature image resolution adjust methods.
When you use savefig
, set the option dpi
to give the resolution in dots per inch.
See the documentation for savefig at:
No idea. But you can still use the figsize argument to obtain a better definition
sage: graphs.PetersenGraph().show(figsize=30)
Please start posting anonymously - your entry will be published after you log in or create a new account.
Asked: 2013-07-09 12:08:23 +0200
Seen: 4,781 times
Last updated: Jul 19 '13
Can I convert a GraphicsArray object to a Graphics object?
Matplotlib navigation constrained pan or keybindings
Plotting arrows at the edges of a curve
sage-python, import matplotlib: no module named _tkagg
sage-python, matplotlib.pyplot: backends tk and pygtk not recognized