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
 Origin Forum
 Reverse of LabTalk layer -w wks[c1 r1 c2 r2]
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

Andreas Bausewein

2 Posts

Posted - 02/25/1999 :  7:09:00 PM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
For showing sections of multiple worksheet coloums in different graph layers I use the LabTalk command layer -w wks[c1 r1 c2 r2](see exemple). But sometimes it is of interest to remove some or all datasets of this graph layers. Knows anybody how to do this?

Exemple with 5 layers:

for (h=1; h<=5; h+=1) {
switch (h) {
case 1: anfang=1;ende=12;break;
case 2: anfang=20;ende=31;break;
case 3: anfang=39;ende=50;break;
case 4: anfang=58;ende=69;break;
case 5: anfang=77;ende=88;break;
default: break;
}
j=(2*h)-1;
layer -s $(j);
layer -w data1 35 anfang 38 ende 201;
}

rtoomey

USA
184 Posts

Posted - 03/01/1999 :  7:10:00 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply


Response to Reverse of LabTalk layer -w wks [c1 r1 c2 r2]


Andreas Bausewein,


To remove some or all datasets from a layer, use the -e option for the layer command. The proper syntax is as follows:


layer -e datasetname


where the 'e' stands for exclude. This is an undocumented command option which will be documented in the next release.


Sincerely,
Ryan Toomey



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