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

Rob Clewley rob.clewley@gmail....
Tue Feb 16 14:13:47 CST 2010


Gael, maybe we misunderstand each other! My data is actually very
smooth, it's just that it's not aligned on a regular mesh already.
It's ordered temporally as a single curve that is wrapping itself
around a solid object's surface.

-Rob

On Tue, Feb 16, 2010 at 11:07 AM, Gael Varoquaux
<gael.varoquaux@normalesup.org> wrote:
> 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