help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: More on plotting scattered data


From: Rafael Laboissiere
Subject: Re: More on plotting scattered data
Date: Tue, 20 May 2008 16:01:54 +0200
User-agent: Mutt/1.5.17+20080114 (2008-01-14)

* Jordi Gutiérrez Hermoso <address@hidden> [2008-05-18 15:26]:

> I'm starting to think that Octave really needs a function where you
> give it a bunch of (x,y,z) triplets and it plots them as a surface
> using a Delaunay triangulation on x and y, and gives an error if z is
> not a function of x and y.
> 
> I want to type "surf(x,y,z)" where each of x, y, and z are vectors of
> equal size and then have a triangulated surface popping up. I'm
> getting a little tired of writing all this boilerplate code creating
> an artificial mesh with rectangles instead of triangles that sort of
> look likes the actual data that I do have but not quite, and
> interpolating to that rectangular mesh.

I think that the Octave binding for PLplot does something like this [1],
through its plgriddata function [2]. 

[1] http://plplot.sourceforge.net/examples/demo21.php?lbind=Octave
[2] 
http://plplot.sourceforge.net/docbook-manual/plplot-html-5.9.0/plgriddata.html

-- 
Rafael


reply via email to

[Prev in Thread] Current Thread [Next in Thread]