You're right. Using 'none' interpolation seems to solve the problem. Good to know !
One last question, why is the 'none' interpolation restricted to Agg/PS/pdf ? Nicolas On Oct 30, 2012, at 6:53 , Jae-Joon Lee wrote: > On Tue, Oct 30, 2012 at 12:25 AM, Nicolas Rougier > <nicolas.roug...@inria.fr> wrote: >> >> >> Thanks for testing. >> >> If I zoom at any line cross, the lines are definitely at the wrong place for >> me. > > As jules hummon commented, I see lines in right places when I zoom in. > >> As for screen aliasing I'm not sure since both the png and pdf seems to be >> wrong in my case. > > It still can be some aliasing-related issue. Note that with > interpolation="nearest", the images are rasterized with given dpi even > if you save the figure as pdf. > The agg backend tries to adjust the location of lines and images so > that they are well-aligned with the pixels, and the issue seems to be > related with that behavior. > > In my case, using interpolation="none" worked out okay. So give it a try. > > Regards, > > -JJ > > >> Weird ! >> >> >> Nicolas >> >> >> On Oct 29, 2012, at 15:40 , jules hummon wrote: >> >>> Nicolas >>> >>> I get that too, (with your script and various things in my work). >>> But if you zoom in, the lines are in the right place. Is it >>> some kind of screen aliasing? >>> >>> Jules >>> >>> ------------------------------------------------------------------------------ >>> The Windows 8 Center - In partnership with Sourceforge >>> Your idea - your app - 30 days. >>> Get started! >>> http://windows8center.sourceforge.net/ >>> what-html-developers-need-to-know-about-coding-windows-8-metro-style-apps/ >>> _______________________________________________ >>> Matplotlib-devel mailing list >>> Matplotlib-devel@lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/matplotlib-devel >> >> >> ------------------------------------------------------------------------------ >> The Windows 8 Center - In partnership with Sourceforge >> Your idea - your app - 30 days. >> Get started! >> http://windows8center.sourceforge.net/ >> what-html-developers-need-to-know-about-coding-windows-8-metro-style-apps/ >> _______________________________________________ >> Matplotlib-devel mailing list >> Matplotlib-devel@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/matplotlib-devel ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_sfd2d_oct _______________________________________________ Matplotlib-devel mailing list Matplotlib-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-devel