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
 noncontigious columns selection for plotting
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

ashvilki

USA
10 Posts

Posted - 11/20/2002 :  10:24:12 PM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Is there a way to select a non-contigious columns in a worksheet for plotting from LabTalk script?

Lorraine

USA
66 Posts

Posted - 11/27/2002 :  6:42:59 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
This script might be helpful to you:

The following will select any column in the worksheet:

wks.colsel(1); //selects first column
wks.colsel(3); //selects third column


jj will return the selected column numbers in the current worksheet.

loop(ii,1,%H!wks.iscolsel())
{
jj=%H!wks.c1+%(%H,@O,ii-1);
jj=;
};


Lorraine
OriginLab Technical Support
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