| Boolean | rectangular (from plotDataSurf2d) | false | set true if input data is on rectangular grid, otherwise assume scattered data |
| Integer | n (from plotDataSurf2d) | 20 | number of data points to plot |
| String | filename (from plotDataSurf2d) | "surf2d.mat" | name of MATLAB formated output file |
| Real[:,:] | data (from plotDataSurf2d) | | scattered data to be fitted: [x,y,z,w] (w is optional weight) |
| Real | s (from plotDataSurf2d) | 0 | smoothing factor (s>0) |
| Integer | kx (from plotDataSurf2d) | 3 | degree of X-dir spline (should be odd) |
| Integer | ky (from plotDataSurf2d) | 3 | degree of Y-dir spline (should be odd) |
| Real[2] | x_lim (from plotDataSurf2d) | {if rectangular then ApproxSpline.Utilities.vmin(data[2:size(data, 1), 1]) else ApproxSpline.Utilities.vmin(data[:, 1]), if rectangular then ApproxSpline.Utilities.vmax(data[2:size(data, 1), 1]) else ApproxSpline.Utilities.vmax(data[:, 1])} | X-dir boundaries of interpolation interval |
| Real[2] | y_lim (from plotDataSurf2d) | {if rectangular then ApproxSpline.Utilities.vmin(data[1, 2:size(data, 2)]) else ApproxSpline.Utilities.vmin(data[:, 2]), if rectangular then ApproxSpline.Utilities.vmax(data[1, 2:size(data, 2)]) else ApproxSpline.Utilities.vmax(data[:, 2])} | Y-dir boundaries of interpolation interval |
| Real[:] | tx (from plotDataSurf2d) | fill(0, 0) | array of X-dir knot positions (if given together with ty, a least square spline is generated) |
| Real[:] | ty (from plotDataSurf2d) | fill(0, 0) | array of Y-dir knot positions (if given together with ty, a least square spline is generated) |