Swap the dataplots' positions and order of two graph layers.
// 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;
Please refer to the page for additional option switches when accessing the x-function from script
Display Name |
Variable Name |
I/O and Type |
Default Value |
Description |
---|---|---|---|---|
Layer A | igl1 |
Input GraphLayer |
|
Specifies the name of the first graph layer. |
Layer B | igl2 |
Input GraphLayer |
|
Specifies the name of the second layer. |
Reorder | reorder |
Input int |
|
Controls whether to swap the order of layers in addition to swap dataplots' positions within each layer. |
This X-Function can be used to swap the dataplot positions and order of two layers.