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
 Title for top x and right y axis

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
KatjaS Posted - 02/24/2021 : 06:41:14 AM
Origin Ver. and Service Release (Select Help-->About Origin): 9.7.0.188
Operating System: Win10

Hi, I'm having troubles scripting a title for the top x axis and the right y axis of my plot. I'm trying

label -xt Toptitle;
label -yr Righttitle;

and also substituting "lab" for "label". None of them work, though the command "label -xb Bottomtitle;" and "label -yl Lefttitle;" both work fine. The -p, -px, -o etc. options work fine but I'd like to attach them to the axis as axis titles.

I also need to set their font size and rotate the right y title, which I haven't found a way to do yet either. Can anyone help?

Best regards,

Katja
2   L A T E S T    R E P L I E S    (Newest First)
KatjaS Posted - 02/24/2021 : 10:41:42 AM
quote:
Originally posted by YimingChen

Hi,

The top/right axis title is also a text object with name XT/YR. You can first show it and then adjust its format. Try script below:

XT.SHOW=1;
label -xt Toptitle;
YR.SHOW=1;
label -yr Righttitle;
YR.ROTATE=0;


James



That works, great, thanks :-)
YimingChen Posted - 02/24/2021 : 09:31:04 AM
Hi,

The top/right axis title is also a text object with name XT/YR. You can first show it and then adjust its format. Try script below:

XT.SHOW=1;
label -xt Toptitle;
YR.SHOW=1;
label -yr Righttitle;
YR.ROTATE=0;


James

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