GRID Function

Standard Library function that generates a uniform grid from irregularly-spaced data.

Usage

    result = GRID(xtmp, ytmp, ztmp)

Input Parameters

xtmp—The vector containing the x-coordinates of the irregularly-spaced input data.

ytmp—The vector containing the y-coordinates of the irregularly-spaced input data.

ztmp—The vector containing the z-coordinates of the irregularly-spaced input data.

Returned Value

result—Array containing gridded z values applied to a uniform XY grid.

Keywords

Nghbr—The number of neighboring data points to be used in the gridding algorithm. Must be in the range of {3 ... 25}. (Default: 3)

Nx—The number of columns in the resulting array. Must be ≤ 200.

Ny—The number of rows in the resulting array. Must be ≤ 200.

Discussion

As of PV‑WAVE version 6.0, the previously used GRID procedure algorithm has been discontinued. GRID now calls the FAST_GRID3 procedure directly. If you prefer to use the previously supported GRID algorithm, please contact Rogue Wave’s Technical Support.

See Also

FAST_GRID3,   GRID_3D