OriginLab Corporation - Scientific Graphing and Data Analysis Software - 2D graphs, 3D graphs, Contour Plots, Statistical Charts, Data Exploration, Statistics, Curve Fitting, Signal Processing, and Peak Analysis

mflip

Contents

Menu Information

Flip

Brief Information

Flip the matrix horizontally or vertically

Command Line Usage

1. mflip;

2. mflip flip:=vertical;

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

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