2.2.2.6 mgrid


Menu Information

Right click on the contour plot created by virtual matrix or matrix, then select Extract Data Points / Click the button Popup Extract Data Points.png in Mini Toolbar

Brief Information

Extract data points from (virtual) matrix contour plot.

Command Line Usage

mgrid cols:=10 rows:=10 missing:=0;

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

0
Specify the methods to extract data points.

Option list:

  • 0=grids: by Grids
  • 1=cols: by Columns
  • 2=pick: Pick from Graph
Input Matrix im

Input

MatrixObject

<active>
Specify the matrix object.
Input iy

Input

XYRange

When extract data points by column, specify the XY range for extracted data point.
X Grid Size cols

Input

int

21
Specify the number of grid points along X direction.
Y Grid Size rows

Input

int

21
Specify the number of grid points along Y direction.
X Minimum xmin

Input

double

<auto>
Specify the minimum X value of the output matrix data. By default, all data points are included.
X Maximum xmax

Input

double

<auto>
Specify the maximum X value of the output matrix data. By default, all data points are included.
Y Minimum ymin

Input

double

<auto>
Specify the minimum Y value of the output matrix data. By default, all data points are included.
Y Maximum ymax

Input

double

<auto>
Specify the maximum Y value of the output matrix data. By default, all data points are included.
Missing Value Pretreatment missing

Input

int

1
Specify the method to preprocess missing values when extract data points with interpolation.

Option list:

  • 0=skip:Skip
Remove all missing values first and then run interpolation.
  • 1=rc:Interpolated with Renka Cline
Renka Cline: For an arbitrary point P, compute the interpolated value using the data values and gradient estimates at each of the three vertices of the triangle which contains P.
Pick Points pickpts

Input

int

When extract data points by Pick from Graph, specify the points by double-clicking on the graph.
Output Matrix om

Output

MatrixObject

<input>
Specify the output matrix

See the syntax here.

Description

You can use this X-Function to extract data points in the contour from virtual matrix or matrix.