# 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!

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!

add a comment

1

When you use `savefig`

, set the option `dpi`

to give the resolution in dots per inch.

See the documentation for savefig at:

1

1

No idea. But you can still use the figsize argument to obtain a better definition

```
sage: graphs.PetersenGraph().show(figsize=30)
```

0

Asked: **
2013-07-09 05:08:23 -0500
**

Seen: **3,908 times**

Last updated: **Jul 19 '13**

Is there any way to integrate matplotlib plots in my latex document using sagetex?

UnicodeDecodeError in matplotlib if 'python' set instead of 'sage' in Notebook [closed]

How can I determine or control a plot's display scale?

display matplotlib graphic in Sage cell server

How do I plot a 3D Lorenz attractor with x, y and z labels?

no more inline matplotlib plots in sage notebook

How can I show any image in sage notebook via html?

How can matplotlib graph axis be moved?

sage-python, matplotlib.pyplot: backends tk and pygtk not recognized

Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.