|
From: Eric F. <ef...@ha...> - 2012-10-12 05:51:38
|
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 osx) preview to convert to pdf worked fine. > Go figure()! This doesn't seem right to me, that pdf would be "mushed". Would you supply an example, please? Ideally a simple script with the png result and the mpl pdf result? Eric > >> >> >> 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 >> Mat...@li... >> <mailto:Mat...@li...> >> 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 > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users > |