Re: 3d surface plot animation

Bruce Sherwood <[email protected]>
Newsgroups gmane.comp.python.visualpython.user
Message-ID <CAFDG03i=iyzQP1xxfpAEUFWw0oHrev3mXyH+-K-i6ymQFZLKcQ@mail.gmail.com>
>From the documentation section "Delete an object":

To hide a Visual object just make it invisible: ball.visible = False.
This does not delete the object from computer memory, and you can make
it visible again later.

If however you later re-use the name ball, for example by creating a
new object and naming it ball, Python will be free to release the
memory used by the object formerly named ball (assuming no other names
currently refer to that object). If the object is visible when you
re-use the name ball, the original object will not be deleted from
computer memory, and it will remain visible in the window.

After you make an object named ball invisible, you can delete it
immediately with del ball.

On Wed, Oct 12, 2011 at 2:29 PM, Poul Riis <Poul.Riis-pIBpe43/vk1knbxzx/[email protected]> wrote:
>
> I have slightly modified the faces_heightfield example in order to add
> another surface (see below).
> That works fine but how can I get rid of the old surface (not just make it
> invisible)?
> My long-term-purpose is to make an animation (the zvalues depending on
> time).
>
> Poul Riis

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2d-oct
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.