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
 plotting multiple layer in one graph
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

usdal

Germany
1 Posts

Posted - 03/03/2020 :  10:08:14 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
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.

Edited by - usdal on 03/04/2020 10:17:03 AM
  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