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
 graph label
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

shyamigcar2

India
25 Posts

Posted - 09/09/2017 :  02:29:07 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
How to put labels on a graph using labtalk scripts. This is not the label by 'T'. This is the text contained in a column.

yuki_wu

896 Posts

Posted - 09/11/2017 :  01:37:02 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi,

I suppose you wanna show the value of a specified cell as a label, so use the label -s command:

label -s %(Book1, 1, 3); //Value of column1, row 3 in Book1

More details of how to access worksheet cells by using notation, please have a look at this page:
http://www.originlab.com/doc/LabTalk/guide/Substitution-Notation#Worksheet_Column_and_Cell_Substitutionsubstitution.2C_worksheet_column.2Fcellworksheet.2C_column_and_cell_substitution

Regards,
Yuki
OriginLab
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