Alan G Isaac wrote: > On Fri, 22 Dec 2006, [EMAIL PROTECTED] apparently wrote: >> 1st message in this thread has code to create each plot. >> Each one does a 'figure_ = pylab.figure()' already. > > Sorry I missed the thread, but each call to pylab.figure() > will give you a new active figure. Everything you plot will > then be plotted to that figure. Previous plots will not be > erased until you explicitly remove them. You can also get > the axes for a particular figure and plot directly to the > axis. > > Probably you are not creating new figures when you think you > are...
I'm puzzled. The call to pylab.close() after the savefig should completely wipe out the current figure, shouldn't it? And even without the close (which certainly should be used anyway), each function starts with a call to pylab.figure() which should start a *new* figure. I can't look into it now, though. Eric > > hth, > Alan Isaac ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users