Ryan May wrote:
> Hi,
> 
> I'm looking into using matplotlib as the backend for doing visualization 
> for my dissertation work.  This would replace some existing Qt/OpenGL 
> code I've written (but isn't too extensible) for 2D plots of weather 
> radar data (think pcolor style plots).  I've been using matplotlib for 
> awhile for other projects, and love it, but it has the drawback that 
> it's interactive graphics are not all that quick (especially pcolor). 
> (Note: I know imshow is faster, but my data are on a polar grid.) I've 
> been spoiled by the speed of OpenGL graphics and the ease of interactive 
> data analysis, so I just can't go back.  Has anyone tried making an 
> OpenGL backend?  If not, can anyone think of any reason why it couldn't 
> be done, maybe using wx's GLCanvas?
> 
> Any comments, or starting points on where I could see how to go about 
> this would be _greatly_ appreciated.

I expect pcolor will be slow regardless of the backend.  Have you tried 
pcolormesh?  It is a much faster pcolor-workalike, but unfortunately it 
has a major bug.  If I remember correctly, alpha doesn't work right and 
resizing a window doesn't work right if some data are masked; things 
that should get erased, don't.  I tried to track it down once but got 
lost in Agg internals.  Anyway, try it and see if it is adequate for 
what you need to do now.

Eric

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to