Re: [Matplotlib-users] imshow and projections

2008-09-09 Thread Erik Tollerud
I tried pcolor, but it seems to have much higher memory usage ... the data set I'm using renders the map using contourf(x,y,z,100) relatively quickly (~10 sec) and with reasonable memory usage, and will imshow(z) even faster (although, as I said, without projection) , but pcolor(x,y,z) fails with a

Re: [Matplotlib-users] imshow and projections

2008-09-05 Thread Michael Droettboom
Erik Tollerud wrote: > I've been playing with some of the projections in matplotlib, > recently, and have some questions/noticed some odd behavior: > > 1. Is there any way to activate a projection mode with the pyplot > interface other than the subplot(111,projection='whatever') method a > la /exam

Re: [Matplotlib-users] imshow and projections

2008-09-04 Thread Jae-Joon Lee
> 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]) ... w

[Matplotlib-users] imshow and projections

2008-09-04 Thread Erik Tollerud
I've been playing with some of the projections in matplotlib, recently, and have some questions/noticed some odd behavior: 1. Is there any way to activate a projection mode with the pyplot interface other than the subplot(111,projection='whatever') method a la /examples/api/custom_projection_examp