Paul Wellner Bou wrote: >Hello, > >as you might have seen, after some days of trying around I am now able >to create a regular grid with griddata(). > >Now, using griddata, I have to decide which gridding algorithm to use. >As I used the delauny triangulation method in Matlab before, I would >like to use this one with Plplot, too. > >But using GRID_DTLI (Delaunay Triangulation Linear Interpolation) I get >a regular grid full of NaNs. Thats fine, but not what I need. > >As the cubic spline method is another possible way to get "good" data, I >tried this one, too. I get a half NaN matrix. The rest of the values are ok. > >The linear interpolation algorithm is too bad for my case. > >Well, my data is from a wavefront tracing through an eye glass blank. So >the result points (x, y, z) in the x-y-layer are those: >http://m21s26.vlinux.de/math/datapoints.png >So I would understand if there are a lot of NaNs around the data. > >Is there a way to use the DTLI algorithm to get a kind of data like in >http://m21s26.vlinux.de/math/gsg.png? > > Quite apart from the suggestion by Alan, what platform are you working on? I have seen this type of problems before on Windows, but we (the original author and me) have not been able to figure out why this happened.
Perhaps it is time to revisit this issue (in the near future at least) ... Regards, Arjen ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Plplot-general mailing list Plplot-general@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/plplot-general