# 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 -0600
**

Seen: **3,160 times**

Last updated: **Jul 19 '13**

How can matplotlib graph axis be moved?

Insert image into Graphics object

Call pure python code from SAGE

How can I save an image from sage plot ?

Is there a way to use non english symbols?

Is there any way to title a plot? Or can you display matplotlib graphs in sage?

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

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.