Re: Erasing a Plot?
- To: mathgroup at smc.vnet.net
- Subject: [mg20792] Re: Erasing a Plot?
- From: "Dale Horton" <daleh at wolfram.com>
- Date: Sun, 14 Nov 1999 18:13:46 -0500 (EST)
- Organization: Wolfram Research, Inc.
- References: <8038he$aff@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
This can be done with NotebookWrite. See http://support.wolfram.com/Kernel/FE/DirectedGraphics.html and http://support.wolfram.com/Graphics/Animations/NotebookWrite.html -Dale AES <siegman at stanford.edu> wrote in message news:8038he$aff at smc.vnet.net... > I'd like to have a program draw a plot; compute for a while; erase the old > plot and draw a new one in the same screen space; and loop indefinitely in > this fashion (kind of a slowed-down version of animating graphics) > > Can anyone give me a template for doing this? (especially the "erasing" part) > > Notes: > > * The plot can be a cell in the notebook doing the computing or (maybe > better) be plotted in a separate window. > > * Obviously I may also save the plot to a file before erasing it. > > * I'd like to recover the memory from each plot, or at least not have the > program memory fill up if I compute a large number of plots this way. > > Email cc of any replies to siegman at stanford.edu appreciated. >