|
From: Jae-Joon L. <lee...@gm...> - 2008-09-04 20:08:03
|
> 2. I have a skymap I would like to plot using a particular projection > - what I've been doing so far is specifying x and y coordinates using > mgrid and calling contourf(x,y,data,100) to approximate this. But > what I'd rather do is something like > imshow(data,extent=[-pi,pi,-pi/2,pi/2]) ... when I call that with a > projection axis activated, the projection isn't honored - the image > just appears as a regular square box. Is there any way to get imshow > to respect the projection? > Did you try pcolormesh (or pcolor)? I believe these commands respect the projection. pcolormesh(x, y, data) -JJ |