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
 Setting Matrix xlabel and ylabel w/ LabTalk
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

swicano

USA
1 Posts

Posted - 06/30/2016 :  4:06:04 PM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
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?


Edited by - swicano on 06/30/2016 5:55:46 PM

Castiel

343 Posts

Posted - 07/12/2016 :  06:10:32 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
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.

妾+   午旦  妹罕妾  妾伊    用仇  妾/     岫ㄞ
 妾京用 仍巨  件 侈   件戶' 甘岫平   /欠  白岫妹
   併             艮          岫  奈 白   岫
                              岫
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