GRID:INTERPOLATE
Syntax: GRID\SIZE s x y z m
GRID\SIZE\XYOUT s x y z m xout yout
GRID\SIZE\BOUNDS s x y z m minx maxx miny maxy
GRID\SIZE\XYOUT\BOUNDS s x y z m xout yout minx maxx miny maxy
Defaults: \NOSIZE, 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.
Syntax: GRID\XYOUT x y z m xout yout
GRID\SIZE\XYOUT s x y z m xout yout
GRID\SIZE\BOUNDS\XYOUT s x y z m xout yout minx maxx miny maxy
GRID\BOUNDS\XYOUT x y z m xout yout minx maxx miny maxy
Defaults: \NOXYOUT
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.
Syntax: GRID\BOUNDS x y z m minx maxx miny maxy
GRID\XYOUT\BOUNDS x y z m xout yout minx maxx miny maxy
GRID\SIZE\BOUNDS\XYOUT s x y z m xout yout minx maxx miny maxy
Defaults: \NOBOUNDS, 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.