On Mon, Dec 15, 2008 at 2:44 PM, John Hunter <jdh2...@gmail.com> wrote:

> I am not sure what figimage should mean for a vector backend so I want
> to hear from Perry who motivated the function.  When I implemented it
> on his original request, I understood it to be a raw pixel dump to the
> canvas with no scaling, no interpolation, etc....  What does a pixel
> dump to a canvas mean for a vector backend?   I think we could define
> something that was at least consistent, but we should probably hear
> from Perry et al who are presumably using the function.

After sleeping on this overnight, I think the answer here is clear.
figimage is meant to be a pixel dump, so we should just treat a pixel
as a dot.  When dpi is increased, the number of dots on the canvas
increases so the figimage should look smaller.  I added your patch and
support for magnification to figimage -- the output looks right for
PNG, PDF and EPS -- svg still not.  I haven't had a chance to look but
perhaps SVG does not utilize the magnification param.  I'll check into
this later.

JDH

------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to