2.2.2.5 mflip

Menu Information

Matrix: Flip

Brief Information

Flip matrix horizontally or vertically

Command Line Usage

1. mflip;

2. mflip flip:=vertical;

3. mflip om:=[MyMatrix]Sheet1!1;

X-Function Execution Options

Please refer to the page for additional option switches when accessing the x-function from script

Variables

Variables

Display
Name
Variable
Name
I/O
and
Type
Default
Value
Description
Input Matrix im

Input

MatrixObject

<active>
Specifies the input matrix.
Flip Direction flip

Input

int

0
Specifies the input matrix.


Option list:

  • horizontal:&Horizontal
    Flip horizontally
  • vertical:&Vertical
    Flip Vertically
Flip Coordinates coord

Input

int

0
Specify whether to flip the X/ Y coordinates according to the direction specified in Flip Direction.
Output Matrix om

Output

MatrixObject

<input>
Specify the output matrix

See the syntax here.

Description

This X-Function flips a matrix horizontally or vertically to produce its mirror matrix.

Related X-Functions

mdim, mexpand, mproperty, mreplace, mrotate90, msetvalue, mshrink, mtranspose


Keywords:switch