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
Username:
Password:
Save Password
Forgot your Password? | Admin Options

 All Forums
 Origin Forum for Programming
 LabTalk Forum
 Graph Layers
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

johannes91131

Germany
4 Posts

Posted - 02/04/2014 :  06:17:20 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Origin Ver. and Service Release (Select Help-->About Origin):
Operating System:9
Hi There,
Im trying to write a script enabling me to plot three graphs into seperate layers from one active worbook. Also I was asked to think about a script helping to plot several graphs, all from different different workbooks in one single layer. Is there any easy way to express this in Lab Talk?
thanks in advance
Johannes

lkb0221

China
497 Posts

Posted - 02/04/2014 :  09:49:15 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi, Johannes

To plot graphs into separate layers, the general way is to do it one by one (especially when your data does not share the same X and does not in the same worksheet). Or, you can plot a grouped plot to one single layer first and extract to different layers. Following is the example:
//
plotxy iy:=(1,2:4) plot:=200; // Plot col(2)~col(4) as a grouped line plot with col(1) as X
layer -j; // Extract to separate layers
layarrange row:=1 col:=1; // Arrange the layers
//

For plotting several layers from different workbooks to one single layer, I think you have to use commands like "layer -i" or "worksheet -p" to add datasets to this layer one by one.

Zheng
OriginLab

Edited by - lkb0221 on 02/04/2014 09:50:04 AM
Go to Top of Page
  Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000