The Origin Forum
File Exchange
Try Origin for Free
The Origin Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ | Send File to Tech support
 All Forums
 Origin Forum for Programming
 LabTalk Forum
 Changing layer of a data plot

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

Screensize:
UserName:
Password:
Anti-Spam Code:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkUpload FileInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

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

The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000