On Tue, Aug 18, 2009 at 1:53 PM, Alan G Isaac<alan.is...@gmail.com> wrote: > 2. This is pretty fast. Would there be additional > speed gains to blitting, and if so, how would it > be done? (I'm just asking for clues, not a complete > example.)
Blitting will improve the performance when significant portion of your plot is (semi-)stationary. And I guess your example, as it is, may not benefit from blitting. A. init 1. draw stationary artists (animated=False) on the canvas 2. save the area of canvas as a pixmap array. B. looping for animation 1. restore the stationary artists by blitting the saved pixmap array 2. draw animated artists. 3. optionally update the saved pixmap. And your speed gain comes from B.1 Regards, -JJ ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users