3d surface plot
David Bateman
adb014 at gmail.com
Fri Apr 25 20:08:36 CDT 2008
Jordi Gutiérrez Hermoso wrote:
> On 25/04/2008, Floyd poole <marpoole at gmail.com> wrote:
>> Is it possible to create a 3d image of several thousand depth measurements?
>> I have a two axis scanner, which provides x and y data, but I cant figure
>> out how to get a 3d image of a corrosion map.
>
> I'm guessing your data is not on a grid? Geophysical fluid data seldom
> is. Supposing you have a large nx3 matrix where you have x, y, and z
> coordinates along columns, you can use the griddata or delaunay
> functions, both in the geometry 'Forge package. The griddata function
> will interpolate your irregular grid to some regular grid you can
> define, and the delaunay function does what its name suggests.
>
> HTH,
> - Jordi G. H.
delaunay and griddata are in Octave itself as of Version 3.0 (or in fact
a bit before)
D.
More information about the Help-octave
mailing list