Re: [Matplotlib-users] Prevent matplotlib (imshow) from interpolating at all

2012-07-26 Thread Rutger Kassies
Great tip, alot simpler than i expected. Although you still need to specify the correct dimensions of the axes, otherwise it wil be interpolated after all. If in my example i increase the figsize by a factor of 2, the image stretches along with it. Thanks! Rutger On 25 July 2012 19:11,

[Matplotlib-users] Prevent matplotlib (imshow) from interpolating at all

2012-07-25 Thread Rutger Kassies
Dear list, I am trying to plot an image using imshow for which i want to have full control of the interpolation taking place. I would rather not have any interpolation at all, but if the input image is very small, it may be interpolated (nearest neighbor) with an integer factor of my choice

Re: [Matplotlib-users] Prevent matplotlib (imshow) from interpolating at all

2012-07-25 Thread Benjamin Root
On Wednesday, July 25, 2012, Rutger Kassies wrote: Dear list, I am trying to plot an image using imshow for which i want to have full control of the interpolation taking place. I would rather not have any interpolation at all, but if the input image is very small, it may be interpolated