If the \POLAR qualifier is used, x is assumed to contain the radial components and y is assumed to contain the angular components, in degrees. The output matrix will be regular in polar coordinates. The columns of the output matrix, m, are of constant radius, the rows are of constant angle. The \NOINTERPOLATE qualifier cannot be used with \POLAR.
By default, duplicate (x,y) locations are not checked for before the matrix is made. If you want duplicate points to be ignored, use the \CHECKDUP qualifier. See also the UNIQUE command.
Syntax: GRID x y z m Qualifiers: \SIZE, \XYOUT, \BOUNDS, \POLAR, \CHECKDUP Defaults: \NOSIZE, \NOXYOUT, \NOBOUNDS, \NOPOLAR, \NOCHECKDUP matrix size = 5*sqrt(min(len(x),len(y),len(z))) range of grid interpolation is range of values of x & y The set of scattered data points is used to construct a Thiessen triangulation of the plane and a regular matrix, m, is interpolated.
Additional Information on:
Syntax: GRID\PATTERN x y z m GRID\PATTERN\XYOUT x y z m xout yout Qualifiers: \XYOUT, \POLAR, \CHECKDUP Defaults: \NOXYOUT, \NOPOLAR, \NOCHECKDUP Suppose the vectors x and y have length h, and suppose that for some n1 and n2, x and y have the following pattern: x[1] = x[2] = ... = x[n2], x[n2+1] = x[n2+2] = ... = x[n2+n2], ...... x[(n1-1)*n2+1] = x[(n1-1)*n2+2] = ... = x[n1*n2] y[1] = y[n2+1] = ... = y[(n1-1)*n2+1], y[2] = y[n2+2] = ... = y[(n1-1)*n2+2], ...... y[n2] = y[n2+n2] = ... = y[n1*n2] where h = n1*n2. If the x and y vectors have this form, the matrix is constructed, without interpolation, with n2 rows and n1 columns, i.e., m[i,j]=z[k] where k=j+(i-1)*n1 for i=1,2,...,n2 and for j=1,2,...,n1.
Additional Information on:
Syntax: GRID\INDICES x y z m GRID\INDICES\XYOUT x y z m xout yout Qualifiers: \XYOUT, \CHECKDUP Defaults: \NOXYOUT, \NOCHECKDUP The vectors x and y are assumed to contain index locations for the z data values. Suppose that h = min(len(x),len(y),len(z))), nc = max(x[i]), nr = max(y[i]) for i=1,2,...,h. Then m[i,j] = 0 for i = 1,2,...,nr; j = 1,2,...,nc except m[y[i],x[i]] = z[i] for i = 1,2,...,h and m will have nr rows and nc columns.
Additional Information on: