8.12.2.2 Layer Management-Quick Start


The Layer Management dialog manages the layer(s) in the active graph by adding, editing, arranging and linking layers.

To open this dialog:
  • Activate the graph and choose menu Graph: Layer Management
  • Right click on the layer icon and select Layer Management in the context menu.
  • Right click on the layer level on Object Manager tool, and select Layer Management in the context menu.

Layer Management dialog start.png

The Apply button applies settings to the preview but not the real graph. Any operations which have been applied to the preview graph can be undo with the Undo button in dialog.

All the operation will be applied to the active graph only when user click the OK button.

Note: Since Origin 2018b, we have introduced the common display function for multiple-layer graphs, which can be used to apply the customizations made to one graph layer to other graph layers in the same multi-layer graph page.

Based on this, you might need check the common display settings when you selected multiple layers and want to use the Layer Management tool to customize them together.

Apply Settings to Multiple Layers Simultaneously

With the Layer Management dialog, settings can be applied to multiple layers simultaneously. Please see a quick example as below:

  1. Import Step01.dat and Step02.dat under \Samples\Curve Fitting\ folder by clicking Import Wizard. Select Import Mode as Start New Columns.
  2. highlight dataset from conc01~conc09 in workbook and click menu Plot: Multi-panel: 9 Panel to plot.
  3. Select Format: Page to open the Plot Details dialog. Go to Layers tab, and uncheck Layer Properties, Axis Style and Plot Properties check box. Click OK button to close the dialog.
  4. Select the plots one by one and use the Line/Border Color button Button Line Border Color.png in the Style toolbar to set the plot color for each plot in each layer.
  5. Activate the graph and select Graph: Layer Management menu the to launch the Layer Management dialog. Go to the Display tab, select Layer1 and Layer9 in the Layer Selection panel on the left.
  6. In the middle panel, customize as follow:
    • Option: Color
    • Background Color: LT Gray
    Layer management color.png
  7. Click Apply to preview the effect, the background of selected layers change into gray.
  8. Go to the Axes tab, and select Layer2, press SHIFT and select Layer8. Now all these seven layers (Layer2, 3, 4, 5, 6, 7, 8) has been highlighted.
  9. In the middle panel, Modify Y scale as Log10. Click Apply to preview. Click OK to apply the setting to graph and close the dialog. Layer management axes.png
  10. Rescale these layers one by one.
    Layer management re.png

Apply Settings Between Layers: Swap, Align and Link

To perform the swap, align and link operation between layers, user should specify the index number of the layers.

LM Index Number.png

Operation Dialog Option
Swap Size/Position tab: Swap
Align Size/Position tab: Align
Link Link tab
Swapping Layers

Follow the steps below to learn how to swap the layers.

  1. Activate the graph and select Graph: Layer Management.
  2. Go to Size/Position tab and select Layer4 and Layer9 in Layer Selection panel. Customize Option as Swap, First Layer as 4 and Second Layer as 9. Click Apply to preview.
  3. Click OK to apply settings. LM Swap 1.png
Linking Layers
  1. Back to Layer Management dialog and go to Link tab to select Layer9 set X Axis Link as Straight(1 to 1). Click Apply.
  2. Click OK to apply swapping and linking settings onto the graph.
  3. Go to axis dialog to set the scale of Layer 1 as from -5 to 80. The X axis of Layer9 will be automatically updated according to scale of Layer1. LM link.png

If the layers are linked, they are treated as one unit. If you need to rearrange(re-size or re-postiion) layers, you should first unlink them. You can re-link layers after arranging.

When select the parent layer to be link to, Only layers with smaller index number can be selected as parent layer. If you want to set latest layers(s) as parent layer, please reorder them in the Layer Selection Panel first

Arrange Layers

The Layer Management tool can be used to manage the layers in the active graph by adding, deleting, editing, re-sizing and re-position layers.

Adding Layers

In the Layer Management dialog, you can add layers of different types with the Add tab.
Add layer3.png

To add data onto new layer, you can drag and drop the plot to the layer or use Plot Setup dialog box.

Deleting Layers

To delete specific layer, right click the layer and select Delete Layer. Click Apply to preview then click OK to implement it.
Del layer.png

Reordering Layers

With Layer Management dialog, you can reorder layer index number in layer selection panel. To give a clear explanation, we start with a double-Y graph. In the following left graph, green symbol line plot with Right Y axis is in Layer 1, Orange column plot with Left Y axis in Layer 2. To bring the symbol line plot on top of the column, you can reorder these two layers.
LM reorder compare2.png

Open the Layer Management dialog and drag the Layer2 on top of LayerTopXRightY on Layer Selection Panel. The Layer2 then is ahead of LayerTopXRightY, renamed as Layer1 simultaneously. Click Apply then OK to implement.
LM reorder pan2.png

Note: Origin may break layer links during the reordering process. To learn more about the layer management tool, please refer to the Laymanage X-Function.

Resizing Layers
  • Resizing Linked Layers

While the layers are linking, re-size the parent layer also re-size all child layer(s) in the same time.

you must first link those child layers onto a parent layer in Link tab. After Linking, go to Size/Position tab,select the parent layer in Layer selection panel, then select Resize and customize the size. Click Apply then OK and all child layers will be resized according the parent layer's size
LM resize result.png

You can also directly resize the parent layer on the multi-layer graph.
LM resize parent2.png


  • Resizing Child Layer

To resize one of the child layers, you should first quarantine a separate layer from the linking group. To do this, return to the Layer Management dialog select the specific child layer in the Layer Selection Panel then uncheck the checkbox When dragged to reposition, also reposition parent layer in Link tab. Click Apply then OK.
LM resize child indi dia.png

Then you can resize the separate child layer. The method is similar to what has been mentioned above for resizing tje parent layer. You can resize the separate layer in the size/position tab by selecting certain child layer in layer selection panel, or use the eight-square rectangle to resize it directly on the graph. LM resize child indi3.png

Note: When the checkbox When dragged to reposition, also reposition parent layer in Link tab is selected for a child layer, resizing this child layer will make the whole linked layers group to resize.

Repositioning Layers

There is some situation you want to readjust layers position and layout in a multi-layer graph. You can go to Arrange tab and customize the gap and layout settings. In the following, the multi-layer graph was set as a 3 multiply 3 layout with zero gap. Click Apply to visualize it in preview window, then OK to implement.
LM arrange gap.png

You should break all the links between parent layers and child layers before customizing the layout, including spacing setting or the number of columns/rows

FAQs

See Also