Last Update: 7/31/2018
If you have a stacked graph, and now you want to replace one of the stacked layers with different data. In this case, you do not need to embed a new layer but simply right click on the curve in target layer and select Change X/Y and further select the data you want.
If the data you want to replace is from a different worksheet or workbook, you can double click on the layer icon (icon on the top left corner with layer index) to open Layer Contents dialog, click to select the plot on the right panel and click left arrow button on the middle to remove the plot. Then click to select desired data on the left panel, and click right arrow button to add it.
Since Origin 2016 SR0, you can utilize Apps in Origin to extend its functionalities. To replace a specific layer, firstly download the Layer Stack Manager App opx file and drag-and-drop it into Origin to install. Read the Description field in opening App webpage to learn how to use the App to insert a layer into a stacked graph.
Keywords:replace layer, insert layer