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

layswap

Contents

Brief Information

Swap the positions of two graph layers.

Command Line Usage

//Before run this XF, please check that there is a active Graph with at least two layers

layswap igl1:=Layer1 igl2:=Layer2;

Variables

Display
Name
Variable
Name
I/O
and
Type
Default
Value
Description
Layer A igl1

Input

GraphLayer

<unassigned>

Specifies the name of the first graph layer.

Layer B igl2

Input

GraphLayer

<unassigned>

Specifies the name of the second layer.

Description

This X-Function can be used to swap the positions of two layers.

Related X-Functions

laysetpos, laymanage