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
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
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