INTERPOLATE
| Syntax: |
GRID x y z m
|
| Qualifiers: |
\SIZE, \XYOUT, \BOUNDS
|
| Defaults: |
\-SIZE, \-XYOUT, \-BOUNDS,
matrix size = 5*sqrt(min(len(x),len(y),len(z))),
range of grid interpolation is range of values of x and y
|
The set of scattered data points is used to construct a Thiessen
triangulation of the plane and a regular matrix, m, is interpolated.
SIZE
| Syntax: |
GRID\SIZE s x y z m
|
| Defaults: |
\-SIZE, \-XYOUT, \-BOUNDS, s = 5*sqrt(min(len(x),len(y),len(z)))
|
By default, the interpolated matrix will be square, with row and column dimensions both equal to
5*sqrt(min(len(x),len(y),len(z))). If another size, s, is desired, you must
use the \SIZE qualifier, and the row and column dimensions will be both equal to
s.
XYOUT
| Syntax: |
GRID\XYOUT x y z m xout yout
|
| Defaults: |
\-XYOUT
|
If output vectors, xout and yout, are desired, you must use the
\XYOUT qualifier. The coordinates of output matrix element m[i,j] will be
(xout[j],yout[i]), where xout contains the x-coordinates
of each column and yout contains the y-coordinates of each row.
BOUNDS
| Syntax: |
GRID\BOUNDS x y z m minx maxx miny maxy
|
| Defaults: |
\-BOUNDS, minx=min(x), maxx=max(x), miny=min(y), maxy=max(y)
|
By default, the range of the grid interpolation is the range of values
of the vectors x and y. If the
\BOUNDS qualifier is used, this range
is specified by the final four numbers, minx, maxx, miny, and
maxy.