Graph : Extract to Graphs (or in the context menu of a selected layer)
Extract specified layers to separate graph windows
1. layextract igp:=graph1 fullpage:=1;
2. layextract layer:="1:4" keep:=0;
3. layextract layer:=1:4 keep:=0;
Please refer to the page for additional option switches when accessing the x-function from script
Input
GraphPage
Specifies the graph to manipulate. By default, the active graph will be used as input.
string
Specifies the layers to extract. Note: to specify multiple layers, use colon to separate the first layer and the last layer to be manipulated. For example, "1:3" means the first, second and the third layer. You can add additional items using comma as separator, as in "1:3,5:7,9:11".
int
Specifies whether or not to keep the source graph. The default is 1, which means that the source graph will be kept.
Specifies whether to resize the layers to full page after they are extracted. The default is 0, which means that the extracted layers will not be resized.
This X-Function can be used to extract graph layers to separate graph windows.
1. Create a new worksheet, import the file \Samples\graphing\waterfall2.dat.
2. Highlight column B to E to plot a 4 panel graph.
3. Run layextract -d in script window to open the layextract dialog.
4. In the dialog, set the Extracted Layers as 1:3 to extract the first three layers.
5. Click OK to extract the layers.
merge_graph