plotResult
PURPOSE 
plotResult Simple helper function to draw results in the demos
SYNOPSIS 
function plotResult(x, y, z, xi, yi, zi, spRows, spCols, spInd, titleStr, xLabel, yLabel, zLabel, setAxisEqual)
DESCRIPTION 
CROSS-REFERENCE INFORMATION 
This function calls:
This function is called by:
- demoInterpolants demoInterpolants Script showing the different interpolants available in the toolbox.
- demoQuadTreePURBFInterpolants demoRBFInterpolants Simple script showing the different RBF interpolants available in the toolbox.
- demoRBFInterpolantWithTension demoRBFInterpolants Simple script showing the different RBF interpolants available in the toolbox.
- demoRBFInterpolants demoRBFInterpolants Simple script showing the different RBF interpolants available in the toolbox.
- demoRBFTypes demoRBFTypes Shows the shape of the various RBF types available in the toolbox
- demoVariogramAndKriging demoVariogramAndKriging Script showing the Variogram fitting and Kriging interpolant.
SOURCE CODE 
0001 function plotResult(x, y, z, xi, yi, zi, spRows, spCols, spInd, titleStr, xLabel, yLabel, zLabel, setAxisEqual)
0002
0003 subplot(spRows, spCols, spInd);
0004 if ~isempty(xi)
0005 surf(xi, yi, zi);
0006 end
0007 hold on;
0008 if ~isempty(x)
0009 plot3(x, y, z, '.r');
0010 end
0011 title(titleStr);
0012 xlabel(xLabel);
0013 ylabel(yLabel);
0014 zlabel(zLabel);
0015 if setAxisEqual
0016 axis equal;
0017 end
0018 hold off;
0019 end
Generated on Thu 10-Dec-2020 17:34:27 by m2html © 2005