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
 All Forums
 Origin Forum for Programming
 LabTalk Forum
 Setting Matrix xlabel and ylabel w/ LabTalk

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

Screensize:
UserName:
Password:
Anti-Spam Code:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkUpload FileInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
swicano Posted - 06/30/2016 : 4:06:04 PM
Origin Ver. and Service Release (Select Help-->About Origin): OriginPro 2015 Sr2
Operating System: Win10

when a matrix sheet is active you can go to matrix -> set dimensions/labels... then under tab xlabels and ylabels you can set a name, is there anyway to do this through labtalk automatically for a matrix?

1   L A T E S T    R E P L I E S    (Newest First)
Castiel Posted - 07/12/2016 : 06:10:32 AM
Yes, if using Origin 2016.

Say the matrix sheet is [MBook1]MSheet1, then
1) if the sheet is currently active:
wks.x.longname$="XLongName";
wks.y.longname$="YLongName";

2) by using range notation:
range rMS1 = [MBook1]MSheet1;
rMS1.x.longname$="XLongName";
rMS1.y.longname$="YLongName";


Not sure about Origin 2015.

©c¡Ï   ¤È¥¹  ©f¨u©c  ©c¥ì    ¥Î¤³  ©c/     ©¦£¯
 ©c¨Ê¥Î ¤´¥¨  ¥ó ¨×   ¥ó¤á' ¥Ì©¦¥­   /¤í  ¥Õ©¦©f
   ¨Ö             ¦á          ©¦£þ  ©` ¥Õ   ©¦
                              ©¦

The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000