Perhaps the interpolation needs to be set to 'nearest'?

On Tue, Jan 13, 2009 at 3:33 PM, John Hunter <jdh2358@gmail.com> wrote:
On Tue, Jan 13, 2009 at 12:16 PM, Martinho MA <mma@ua.pt> wrote:
> Hello,
> I have a problem saving png files created from data with missing values.
> The matlab and pylab outputs are very different... pylab resolution is
> poorer !?
>
> the saving commands from matlab and python are similar:
>
> matlab:
>  >>print -dpng -r80 test_matlab.png
>
> python:
>  >>pylab.savefig('test_pylab.png',dpi=80)
>
>
> look at the examples:
> http://neptuno.fis.ua.pt/tmp/comp.html
>
> Can I get the pylab output with the quality of test_matlab.png?


Without seeing any code or knowing anything about your matplotlib
version -- it is hard to help.

 http://matplotlib.sourceforge.net/faq/troubleshooting_faq.html#report-a-problem

JDH

------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users