2.2.1.14 xyzgrid
Contents
Menu Information
Extract Data Points (context menu of Contour plot) / Click the button
in Mini Toolbar
Brief Information
Extract data points from contour plot.
Additional Information
Minimum Origin Version Required: 2016 SR0
Command Line Usage
1. xyzgrid rows:=10 cols:=10; // With contour graph window active
2. xyzgrid rows:=40 cols:=40 xmin:= -100 xmax:=-80 ymin:=30 ymax:= 40 type:=mat; // With contour graph window active
X-Function Execution Options
Please refer to the page for additional option switches when accessing the x-function from script
Variables
| Display Name |
Variable Name |
I/O and Type |
Default Value |
Description |
|---|---|---|---|---|
| Data Points | iz |
Input int |
|
Specify the methods to extract data points.
Option list:
|
| Input | iz |
Input XYZRange |
|
XYZ worksheet data used to generate grids. |
| Input | iy |
Input XYRange |
|
When extract data points by column, specify the XY range for extracted data point. |
| 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:
|
| Pick Points | pickpts |
Input int |
|
When extract data points by Pick from Graph, specify the points by double-clicking on the graph. |
| Output | oz |
Output XYZRange |
|
Specify a worksheet to output the extracted data. See the syntax here. |
| Output Matrix | om |
Output MatrixObject |
|
Specify a matrix to output the extracted data. See the syntax here. |
Description
This X-Function is used to extract data from XYZ contour/XYZ worksheet data.
Algorithm
The values for the specified extracted data 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.
References
Related X-Functions
Keywords:gridding