picture quality of the figures

Hello,

We are using matplotlib version 0.8 (matplotlib-0.80.win32-py2.2.exe).

The plots are saved as .png, but we feel the quality of this picture is not so good. (not good resolution supported).

Is there anyway by which we can improve the picture quality? Say like by using .jpeg.

We tried to save the plot as .jpeg as mentioned on the site (http://matplotlib.sourceforge.net/matplotlib.pylab.html#-savefig) , but we get error "IOError: Do not know know to handle extension *.jpeg…"

Does it mean that matplotlib 0.8 does not support jpeg format?

If anyone has an idea about this then please do let us know.

Thanks in advance

Best Regards,

Rameshwari

We are using matplotlib version 0.8 (matplotlib-0.80.win32-py2.2.exe).

The plots are saved as .png, but we feel the quality of this picture is
not so good. (not good resolution supported).
Is there anyway by which we can improve the picture quality? Say like by
using .jpeg.

  Jpeg is will not be better- it is also a compressed format.

  A better quality can be obtained with postscript (*.ps) or encapsulated
postscript (*.eps)

We tried to save the plot as .jpeg as mentioned on the site
(http://matplotlib.sourceforge.net/matplotlib.pylab.html#-savefig) ,
but we get error "IOError: Do not know know to handle extension
*.jpeg...."
Does it mean that matplotlib 0.8 does not support jpeg format?

   Try with .jpg, not .jpeg

  Vincent

···

--
Vincent Favre-Nicolin
Université Joseph Fourier
http://v.favrenicolin.free.fr
ObjCryst & Fox : http://objcryst.sourceforge.net