T O P I C R E V I E W |
LC_ |
Posted - 01/29/2014 : 07:54:08 AM Origin Ver. and Service Release (Select Help-->About Origin): 9.1 SR1 Operating System: Win 7
Hi all
Maybe what I'm going to ask is easy, but I couldn't really find in Labtalk Help. For getting the layer of a data plot, one can use the range.getLayer() method, but apparently there is no method such as a "set layer" for changing the layer of a data plot in a graph.
I am writing a script that takes an existing graph with i=n layers in one layer. I need to "burst" the plots into j=n different layers, one data plot for each layer. How can I move the data plot i=k from layer j=1 to j=k like one would be able to do manually by dragging the data plots in the Plot Setup?
Thanks for the help |
6 L A T E S T R E P L I E S (Newest First) |
LC_ |
Posted - 02/04/2014 : 07:23:53 AM Hi Zhen. Thanks a lot - this command does exactly what I needed! |
lkb0221 |
Posted - 02/03/2014 : 09:37:20 AM Hi, Leslie
You can find the individual button by "View: Toolbars...", "Button Groups" tab, "Graph" group (in the left panel), the sixth button in the right panel.
Zheng OriginLab |
Steady75 |
Posted - 01/31/2014 : 5:20:24 PM I don't find the Extract to Layers" tool. Help please.
Leslie |
lkb0221 |
Posted - 01/30/2014 : 12:39:42 PM Hi, LC
You can try "layer -j" command. It will extract multiple data plots in a single layer into a multiple panel (layer) graph in which each data plot displays in its own layer. Then you can use other commands to arrange the layers.
Zheng OriginLab
|
LC_ |
Posted - 01/30/2014 : 02:31:40 AM Hi Zheng
Thanks for your answer, this works. The approach is ok for using once in a while, but I would still like have this option in a script for some repetitive analysis that I have to do (the script also does some other things). I couldn't find an associated x-function, it's ok if I have to rewrite it in Origin C... |
lkb0221 |
Posted - 01/29/2014 : 11:32:41 AM Hi, Leonardo
This is not necessary to be implemented by script. Please try the "Extract to Layers" tool. (By default at the right edge of the window, right below "Rescale" button).
Zheng OriginLab |