I've added this to the sourceforge bug tracker, ID 2832896.

Mike


On Aug 5, 2009, at 3:32 PM, Michael Fitzgerald wrote:

>
> Hi all,
>
> I've come across an apparent bug in imshow when outputting to PDF  
> and EPS files.  (I haven't tested other vector formats.)  It  
> manifests as a small scaling error between the raster image and the  
> axes coordinates.
>
> I have attached a test script to illustrate the problem.  The  
> (correct) PNG output file shows a green 'X' at the common point  
> between four pixels near the center of the raster image.  The  
> extent is chosen such that the coordinates refer to pixel centers.   
> The PDF and EPS output files show a misalignment between the X and  
> the pixel boundaries -- zoom in to see it clearly.  Also, the  
> topmost row and rightmost column appear truncated.
>
> I am using svn r7395.
>
> Thanks for the attention,
> Mike
>
> <test_image_offset.py>


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel

Reply via email to