2.2.2.15 msclip


Menu Information

Matrix: Clip Missing

Brief Information

Clip matrices in sheet with missing values by another matrix

Command Line Usage

msclip ims:=[Test1]Msheet1 imo:=[MBook2]pre!1 oms:=[<new>];

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
Matrix to Clip ims

Input

MatrixLayer

<active>

Specifies the matrix to be clipped.

Matrix with Missing imo

Input

MatrixObject

<unassigned>

Specifies the matrix with missing value. According to this matrix missing value to clip the Matrix to Clip (ims).

Pixel pixel

Input

int

0

Determine how a pixel is defined when clipping:

  • 0 = POINT:Point
treats one pixel as a single point;
  • 1 = AREA:Area
treats one pixel as a rectangular area.
Output Matrix oms

Output

MatrixLayer

[<new>]

Specifies the output matrix.

See the syntax here.

Description

You can use this X-Function to clip a matrix according to other matrix's missing value.

Related X-Functions

minterp2