dasratsel wrote:
> Hi,
> 
> I've done some poking an I can't find a way to use imshow() to plot a
> luminosity map on a hammer projection. (looking to generate a plot like
> http://en.wikipedia.org/wiki/Image:WMAP_2008.png). Just setting the
> projection in a call to subplot gives some axes and an off-center retangular
> image of my array. Bearing in mind that I am completely new to matplotlib,
> does anyone have an idea of how to get this sort of plot?
> 
> Thanks,
> Kris
> 
> (PS. Apologies if this shows up in two places, I'm not used to using mailing
> lists)

Kris,

For any sort of mapping like this, you will probably want to use basemap 
matplotlib toolkit, except that I don't see "hammer" among the supported 
projections.

With straight mpl, imshow does not support projections.  You could use 
pcolor (very slow) or pcolormesh.  In neither case will you get 
interpolation; you will be specifying colored quadrilaterals.

Eric

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to