Hi, I am plotting a grid with pcolor. Below I've got a 1000x1000 grid.

xi=linspace(-0.1,x[-1]+2,1000)
> yi=linspace(-0.1,maxfreq+10,1000)
> print 'Calling griddata...'
> zi=griddata(x,y,z,xi,yi,interp='nn')
> plt.pcolor(xi,yi,zi,cmap=plt.cm.hot)


I am able to plot this on my computer, but it's very slow and monitoring
'top' while python is running shows it using up quite a bit of memory. This
data set that I'm currently using is only about 1/10 of what I eventually
want to plot. While I may be able to drop the resolution to some degree,
I'd like to be able to speed this up if possible. Google searches reveal
different people talking about imshow and pcolormesh being faster than
pcolor. Is this true? How could I modify my above data (which is in
xi,yi,and zi) to work with imshow (which seems to take 1 argument for
data).

Thanks for the help.

Brad
------------------------------------------------------------------------------
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create 
new or port existing apps to sell to consumers worldwide. Explore the 
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to