Move plot(s) from the active layer to another layer
Minimum Origin Version Required: 2017 SR1
1. laymplot plot:="2 4" show:=1 rescale:=both; //Move second and forth plot in current layer to a new layer with X linked and Y independent.
Please refer to the page for additional option switches when accessing the x-function from script
Input
string
int
Option list:
Note: the position of independent X/Y axis bases on the current X/Y axis position of active layer. If the active layer has both X and Y axes, the top X/right Y axis of the newly added layer will have 11% offset to the rightmost/topmost axis of the active source layer.
This X-Function is used to move the specified plot(s) from active layer to an existing layer or new layer.
laymplot -d;
Then the second Y axis's elements will follow the color of the third curve(the moved one).
layadd,layswap,laycopyscale