I'm using an equation node so that I can use the griddata('v4') method for interpolating an (x,y,z) Data set. For the most part, it seems like the interpolation is generating the right points. But in some cases I'm running into some unexplained results.
I'll plot a series of points (x,y,z), with the max z value equal to -60. Generally, when I plot (x,y) points with a z value of -60 (depending on the values of the neighboring points) I would expect to get a value of a little above -60 or a little below. Most of the time these results are produced. Other times, in the same data set, I have points that have z values of -110, -115, and -90, that end up creating a new, interpolated z value of -70. This jump in the z value makes me question whether or not I'm using the proper interpolation technique.
The data that I'm graphing should look like a hill, with a single peak, as the altitude decreases with distance. Smaller hills may appear as the distance from the center peak grows, but there should never be a peak near the value of the maximum peak.
I've attached a vi that shows 3 views of the data:
1. Plot - location of points with z values attached
2. 2d Mesh - 2d view of data after mesh/interpolation
3. 3d Graph - 3d view of data after mesh/interpolation
Some of the reasons for this sort of error may be due to the clustered nature of some of the lower z values. My only reasoning for these erroneous peaks is that these lower values are some how stacking together, which end up creating poor results. Does anyone have any ideas about how to get around this?