[SciPy-User] scipy interpolate issues

Pauli Virtanen pav@iki...
Tue Jan 31 16:41:51 CST 2012

31.01.2012 23:34, Travis Vaught kirjoitti:
> I'm experimenting with getting a smooth surface from a set of 3D points.
 > With the attached CME (requires mayavi for the visualization) I'm getting
 > unexpected results.  The generated surface does not pass through the 
 > points.  When I transpose the results, it looks correct.
 > Note: I also show the points connected by a Delaunay triangulation,
> whose surface is shown as contour lines.

np.meshgrid works like in Matlab, and returns "transposed" arrays. Maybe 
that's the problem here?

Pauli Virtanen

More information about the SciPy-User mailing list