2.5.30 layswap

Brief Information

Swap the dataplots' positions and order of two graph layers.

Command Line Usage

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

layswap igl1:=Layer1 igl2:=Layer2;

layswap igl1:=Layer1 igl2:=Layer2 reorder:=1;

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
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.

Reorder reorder

Input

int

0

Controls whether to swap the order of layers in addition to swap dataplots' positions within each layer.

Description

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

Related X-Functions

laysetpos, laymanage