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
 Origin Forum
 Centred title in Originpro 8

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
magicalmarshmallow Posted - 12/06/2013 : 2:27:19 PM
OriginPro 8.0.63.988 SR6 Windows 7 x64

Hey,
I am looking to centre a layer title on a plot in Origin. In later versions there is an option on the right click menu to add a layer title (which is centred)

Is there a solution or work around for this in OriginPro 8?

Please and Thanks

1   L A T E S T    R E P L I E S    (Newest First)
greg Posted - 12/06/2013 : 3:15:54 PM
First, you need to know the name of the text object you created.
Hold down the Alt key and double-click on your text.
Read the Object Name in the Programming Control dialog.
Now you can execute this script (assumes the name was Text1):

text1.x = ( layer.x.from + layer.x.to ) / 2

If you happen to have a Log scale you will need to use:

text1.x = 10^(( log(layer.x.from) + log(layer.x.to) ) / 2)

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