On Thu, Sep 05, 2013 at 09:52:03PM +0100, Shane Carey wrote:
> from enthought.mayavi import mlab
Unless you have a very old install, you should be using 'from mayavi
import mlab'.
> import numpy as np
> x, y, z = np.loadtxt("E:/3_D/fault_5t.txt").T
> pts=mlab.points3d(x, y, z,scale)
> mlab.show()
Have a look at delaunay2d, for instance in the following example:
http://docs.enthought.com/mayavi/mayavi/auto/example_surface_from_irregular_data.html
Hope this helps,
Gaƫl
------------------------------------------------------------------------------
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58041391&iu=/4140/ostg.clktrk
_______________________________________________
MayaVi-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mayavi-users