Re: [Matplotlib-users] trouble switching off smoothing in imshow()

2012-10-10 Thread Anand Sivaramakrishnan
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

[Matplotlib-users] trouble switching off smoothing in imshow()

2012-10-09 Thread Anand Sivaramakrishnan
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