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
 Graph Layers

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
johannes91131 Posted - 02/04/2014 : 06:17:20 AM
Origin Ver. and Service Release (Select Help-->About Origin):
Operating System:9
Hi There,
I´m 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
1   L A T E S T    R E P L I E S    (Newest First)
lkb0221 Posted - 02/04/2014 : 09:49:15 AM
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

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