On 2012/10/10 3:07 AM, Anand Sivaramakrishnan wrote:
> 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 os
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
Hi,
Le 09/10/2012 16:37, Warren Weckesser a écrit :
>
> That's strange. `imshow(img, interpolation='nearest')` works for me.
>
I'm not sure I understand well the subtle difference between 'nearest'
and 'none' interpolations, but I found in this commit
https://github.com/jkseppan/matplotlib/commit
On Tue, Oct 9, 2012 at 10:11 AM, Anand Sivaramakrishnan wrote:
> I ask having trouble getting imshow to plot e.g. a detector image
> showing pixels as little rectangular or square uniform color blocks -
> imshow seems to want to interpolate or smooth the image.
> Using imshow("nearest") still pro
On Tue, Oct 9, 2012 at 10:11 AM, Anand Sivaramakrishnan wrote:
> I ask having trouble getting imshow to plot e.g. a detector image
> showing pixels as little rectangular or square uniform color blocks -
> imshow seems to want to interpolate or smooth the image.
> Using imshow("nearest") still pro
I ask having trouble getting imshow to plot e.g. a detector image showing
pixels as little rectangular or square uniform color blocks - imshow seems to
want to interpolate or smooth the image.
Using imshow("nearest") still produces a 'soft' image.
I have solved this problem earlier using figimag