Generate Grid (context menu)
Generate grid data from XYZ contour plot
Minimum Origin Version Required: 2016 SR0
1. xyzgrid iz:=3 oz:=<new>; // With worksheet active
2. xyzgrid iz:=3 rows:=50 cols:=50 oz:=<new>; // With worksheet active
3. xyzgrid rows:=40 cols:=40; // With contour graph window active
4. xyzgrid rows:=40 cols:=40 xmin:= -100 xmax:=-80 ymin:=30 ymax:= 40 type:=mat; // With contour graph window active
Please refer to the page for additional option switches when accessing the x-function from script
Display Name |
Variable Name |
I/O and Type |
Default Value |
Description |
---|---|---|---|---|
Input | iz |
Input XYZRange |
|
XYZ worksheet data used to generate grids. |
X Grid Size | rows |
Input int |
|
Specify the number of grid points along X direction. |
Y Grid Size | cols |
Input int |
|
Specify the number of grid points along Y direction. |
X Minimum | xmin |
Input double |
|
the minimum X value of the output XYZ/matrix data. |
X Maximum | xmax |
Input double |
|
the maximum X value of the output XYZ/matrix data. |
Y Minimum | ymin |
Input double |
|
the minimum Y value of the output XYZ/matrix data. |
Y Maximum | ymax |
Input double |
|
the maximum Y value of the output XYZ/matrix data. |
Output to | type |
Input int |
|
Specify which data form to be outputted.
Option list:
|
Output | oz |
Output XYZRange |
|
specifying a worksheet for the output gridding data. See the syntax here. |
Output Matrix | om |
Output MatrixObject |
|
Specify a matrix for the output gridding data. See the syntax here. |
This X-Function is used to create gridding data from XYZ contour/XYZ worksheet data.
The values for the specified grid points are computed by triangulation and line interpolation as described in algorithm section. Note that contour values outside input data range will be set as missing values.
Keywords:gridding