Show pixelated image using imshow

Hi,

I would like to show an image using the imshow function. Thsi is quite trivial, but what I acn not figure out so far, is how to display the image without any interpolation. For my application it is useful to really see the individaul pixel and the borders between them. Setting interpolation=None did not give the expected results …

Thanks for your help,

Sebi

Sebastian Rhode wrote:

Hi,

I would like to show an image using the imshow function. Thsi is quite trivial, but what I acn not figure out so far, is how to display the image without any interpolation. For my application it is useful to really see the individaul pixel and the borders between them. Setting interpolation=None did not give the expected results ...

interpolation='nearest'

Eric

···

Thanks for your help,

Sebi

------------------------------------------------------------------------

------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev

------------------------------------------------------------------------

_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
matplotlib-users List Signup and Options