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
 plotting multiple layer in one graph

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
usdal Posted - 03/03/2020 : 10:08:14 AM
Origin Ver. and Service Release (Select Help-->About Origin): 2019b
Operating System: Windows

Hello everyone,

i'm a beginner in Origin LabTalk and i try to make my evaluation of my mesurements by a LabTalk Skript.
I'm importing some .xlsx files in one workbook with many worksheets. This step works pretty well. But after this my skript bugs. I try to Plot with plotxy from every sheet a small Data range in one Graph. But it doesn't work with the following script:

string wbook_name$ = page.name$;
....

win - a %(wbook_name$);
page.active$ = Data;

plotxy iy:=(9,10)[6:17] plot:=201 ogl:=!1;
page.longname$ = "tau-gamma";
win - a %(wbook_name$);

loop(ii,2,page.nlayers) {
win - a %(wbook_name$);
page.active = ii;

plotxy iy:=(9,10)[6:17] plot:=201 ogl:=[tau-gamma];
}

(9,10([6:17] is the small data Range

First, i create a new Graph und Rename it. After this i try to plot the other worksheet Data with the loop Structure in the Graph called: tau-gamma.

The loop Structure isn't work, because after plotting the first layer in the graph, the skript finished.

Maybe anyone can helps me?

Thank you for all replays,
Best Regards M.

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