Re: [Matplotlib-users] animating surfaces

2007-01-13 Thread Matthew Koichi Grimes
Hmm, I tried that but it didn't work. I also tried just using ax3d.hold(False), and also tried pylab.hold(False), but both times I still kept on getting multiple surfaces. -- Matt Eric Firing wrote: Matthew Koichi Grimes wrote: I'd like to plot a 3D surface and its contours as the surface

[Matplotlib-users] animating surfaces

2007-01-12 Thread Matthew Koichi Grimes
I'd like to plot a 3D surface and its contours as the surface evolves. When I do it by simply calling plot_surface and/or contour3D multiple times, the plot doesn't clear the old surface before plotting the new one, so I get a whole bunch of surfaces accumulating in the same plot: snip import

Re: [Matplotlib-users] animating surfaces

2007-01-12 Thread Eric Firing
Matthew Koichi Grimes wrote: I'd like to plot a 3D surface and its contours as the surface evolves. When I do it by simply calling plot_surface and/or contour3D multiple times, the plot doesn't clear the old surface before plotting the new one, so I get a whole bunch of surfaces