[SciPy-User] creating a 3D surface plot from collected data

Gael Varoquaux gael.varoquaux at normalesup.org
Tue Feb 16 11:07:27 EST 2010


On Tue, Feb 16, 2010 at 10:19:32AM -0500, Rob Clewley wrote:
> I too have some data that has multiple z values in the x,y  domain.
> Worse, my data is not remotely arranged in a proper grid as it is
> temporal trajectory data from a 3D ODE that winds itself round and
> round the surface, like a very carefully wrapped mummy. I.e., it
> doesn't wrap back over itself.

> I'm not familiar with 3D plotting techniques and trying to set up the
> plot of my surface in mayavi or matplotlib is not working along the
> lines of standard cookbook examples. I cannot find appropriate
> information online on how to plot the surface if I can't run the
> interpolator for data that's not a function of (x,y) and my data needs
> "alignment".

Would this example help:
http://code.enthought.com/projects/mayavi/docs/development/html/mayavi/auto/example_surface_from_irregular_data.html

Gaël



More information about the SciPy-User mailing list