Thanks for the many useful responses - I eventuallyfound by experiment that 
imshow(  interpolation='nearest' works *if* I write a png file.
Saving a pdf file mushed up my crisp pixel boundaries.  However, saving as png, 
then using (mac osx) preview to convert to pdf worked fine.
Go figure()!



I have solved this problem earlier using figimage(), but that was a lot of work 
(I had to create a pixel-by-pixel array with all greyscale values set myself, 
and then I was working in pixel coordinates rather than my data coordinates).  
Has anyone figured out how to get imshow to stop smoothing the image?  Using 
imshow(… interpolation='none'…) or imshow(… interpolation=None…) raise 
exceptions.

I found NonUniformImage too hard to figure out from the documentation.

------------------------------------------------------------------------------
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net<mailto:Matplotlib-users@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/matplotlib-users



------------------------------------------------------------------------------
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to