From: Paul W. B. <pa...@pu...> - 2008-03-13 15:54:26
|
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? Thanks very much. Regards Paul. |