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 accumula

[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: import pylab

Re: [Matplotlib-users] troubles with contour3d, contourf3d in v0.87.5

2007-01-12 Thread Eric Firing
I don't know if everything 3D works, but the first error you note below is fixed in svn, and I suspect in 0.87.7, the last release. 0.87.5 is rather old--quite a bit has changed between minor releases. Eric Matthew Koichi Grimes wrote: > contourf3D and contour3D seem to be broken in my copy of

[Matplotlib-users] troubles with contour3d, contourf3d in v0.87.5

2007-01-12 Thread Matthew Koichi Grimes
contourf3D and contour3D seem to be broken in my copy of matplotlib 0.87.5 that I installed from ubuntu edgy's repositories. Is this a known problem? I started going through axes3d.py etc and fixing the reported errors, but the error trail seems to go pretty deep across multiple files. Now I'm

[Matplotlib-users] x=, y=, z=??

2007-01-12 Thread Eric Emsellem
Dear all, I am coming back to an issue for which I didn't get a direct answer (except for a very nice module from Angus McMorland!): - at the moment different backends in mpl automatically provides, when an image (or a plot) is displayed with e.g. imshow (plot), the coordinates x and y directly i

[Matplotlib-users] 3D curve and errors in axes3d

2007-01-12 Thread Mico Filós
Hi all I am trying to plot the trajectory of the Lorenz system with the axes3d.py module (version 0.87.7). The code is the following: from numpy import * from scipy.integrate import odeint import pylab as p import matplotlib.axes3d as p3 def Lorenz(w, t, s, r, b): x, y, z = w return arra