You could try using the return matrices Xi,Yi,Zi to make an interpolating function. Then find z values corresponding to any x,y points you want.
An example, using scatteredInterpolant,
[t,r] = meshgrid(linspace(0,2*pi,361), ...
[x,y] = pol2cart(t,r);
P = peaks(x,y);
angR = [20 350]*pi/180;
radR = [.8 4];
[xi,yi,zi] = ...
zFun = ...
Excellent script; thank you very much for it.
I would like to interpolate across the center of the plot(constituted by the first row or the input vector), as well as between the first and last column of the input vector.
Could you advise me on how to proceed with this?
I believe this is due to an opengl bug. For example,
is mangled. But,
looks good. Painters works too but the gridlines aren't drawn very well.
Reall good script that does pretty much everything I needed. However, when trying to shift the CartOrigin to projected UTM coordinates (i.e. 10^5 on x and 10^6 on y), the mesh is totally disturbed. Any idea where that occurs?