T O P I C R E V I E W |
millot.marius |
Posted - 11/01/2012 : 11:59:09 AM Origin Ver. and Service Release (Select Help-->About Origin):8.5.1 Operating System:win7 64
Hi I'd like to know how to easily transfer the content of a layer from a graph to another
Is there a hidden menu option to do this ?
Or using Labtalk ? |
5 L A T E S T R E P L I E S (Newest First) |
millot.marius |
Posted - 06/19/2013 : 1:13:21 PM ok, but it seems that the layer does not appear in the layer management menu afterwards (in the new graph)
also how to do this with multiple layers ? |
greg |
Posted - 06/19/2013 : 11:53:48 AM The key is to make sure you have selected the source layer when you do the copy. You will know you have selected it when you see the rectangle and 8 selection handles (in 4 corners and 4 edges) around your graph. In case you have trouble getting the selection (e.g. your data is very dense or you have a contour graph) try holding down the Alt key and then clicking on the graph.
Once you have the selection, press Ctrl+C. In the new graph window, click where you want the upper left of the copied layer to appear and press Ctrl+V.
Note that OpenGL supports only one layer. |
millot.marius |
Posted - 06/19/2013 : 12:08:24 AM Actually i tried today in 8.5.1 without success... Could you be more specific on how to copy and paste ? Should it be from layer management window ? |
millot.marius |
Posted - 11/01/2012 : 1:27:43 PM Thank you Greg! |
greg |
Posted - 11/01/2012 : 1:12:42 PM You can copy and paste a Layer and all its content from one Graph to another (adding a new Layer) by just selecting the layer and using Ctrl+C to copy and selecting the new Graph and Ctrl+V to paste.
For copying just content you can use script:
win -a Graph1; // Make your source graph active page.active = 2; // If multiple layers, make source layer active layer -c; // Puts count of plots in 'count' and names in '%Z' win -a Graph2; Make your target graph active page.active = 3; // If multiple layers, make target layer active layer -i %Z; // Includes all datasets using existing plot styles or layer-i201 %Z; // Includes all datasets as Scatter plots
See http://wiki.originlab.com/~originla/wiki/index.php?title=LabTalk:Worksheet_%28command%29#-p.3B_Plot_the_current_worksheet_selection_in_the_nth_graph_type_into_the_template for PlotIDs and note that they must be appropriate to the data being copied and the layer targeted. |