On Jan 28, 2008 2:06 PM, j vickroy <[EMAIL PROTECTED]> wrote: > Hello users, > > I wish to repeatedly re-plot labels and contour data on a figure since > redrawing the figure is temporally expensive. The attached script (I > apologize for its length), hopefully, illustrates a simplified version > of what I'm trying to do -- contour temporally-varying data on a map > projection.
matplotlib has some support for the kinds of things you are trying to do -- eg draw an expensive part of the figure, save it, plot something on top of it, erase it, restore the original figure, etc. This is convered in some detail in the animation cookbook recipe. Although you are not doing animation, the concepts are quite similar in that both require copying and restoring a background, and updating the "animated" object. http://www.scipy.org/Cookbook/Matplotlib/Animations JDH ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users