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
 Plot a column selected by name
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

pb

Italy
8 Posts

Posted - 12/16/2005 :  12:05:16 PM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Origin Version (Select Help-->About Origin): 6.0
Operating System: XP

Hi,
I would like to select and then plot a worksheet column identified by name, rather than column number.
However, the usual command
worksheet -s
does not seem to work with names.
What am I doing wrong..?
Thanks for your help

Paola

Mike Buess

USA
3037 Posts

Posted - 12/16/2005 :  12:55:45 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi Paola,

colnum(colName) returns the column number of the named column. You can use this to select col B...

worksheet -s colnum(B) 0 colnum(B) 0;

Mike Buess
Origin WebRing Member
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