On Sat, Jan 9, 2010 at 8:20 AM, Eric Emsellem <eemse...@eso.org> wrote:
> Hi
> thanks A LOT for taking the time to test this and for the suggestions.
>
> Yes, pcolormesh is needed (or at least I think) because in the "real"
> example (the figures I am trying to make) the pixels are rotated meaning
> that these are polygons which are not aligned with the axes. Imshow
> cannot do that as far as I can tell because it shows a rectangular grid
> (masked or not) aligned with the axis.
>

imshow in the current release does not support rotation.
However, imshow in the svn DOES support rotation (or any affine
transform), but for ps backend only. Here is a relevant thread. So
take a look if you're interested.

http://old.nabble.com/imshow-without-resampling-in-the-ps-backend.-tt26805182.html#a26805182


>
> Never used rasterization before...
> (and thanks for pointing out the mistake on map3, this came after
> adapting the script for this post). I guess this means you transform it
> into a resolution dependent figure. I can try it but I am afraid this
> will look quite bad.
>

Yes, but only images. Other artists (lines, texts, etc.) will be in
the vector format.
As a matter of fact, images in matplotlib are always rasterized
internally (only exception is the ps backend in the svn). So, the
result will not be much different. Also, you can increase the dpi of
the output if you think output quality is poor.

Regards,

-JJ

------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to