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
 Show "Divide by Factor" in axis label automaticall

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
SteffenHeu Posted - 09/17/2020 : 12:57:33 PM
Origin Ver. and Service Release (Select Help-->About Origin): OriginPro 2019 (64-bit)
9.6.0.172

Operating System: Win 10 Education 64 bit

Hey,

is there a way to automatically show the "divide by factor" input in the axis label? E.g a command you can enter to the description of the label. If the factor is set to 1E7 the label says "Area / 10^7 counts"? Or can ou only do that manually?

Thanks in advance
6   L A T E S T    R E P L I E S    (Newest First)
snowli Posted - 09/25/2020 : 4:09:11 PM
Hi Andrey,

we improved this in just released beta6 to support
%(?X) / %(layer.x.label.divideBy$)


Thanks, Snow

AKazak Posted - 09/24/2020 : 03:34:55 AM
quote:
Originally posted by Chris D

Hi, Indeed it is as AKazak says.

Here is the proper formula to add Axis Tick Label Divide by Factor to an axis title manually. Double click on the title and replace it with one of the below.

For X axis

%(?X) $(layer.x.label.divideBy)


For Y Axis

%(?Y) $(layer.y.label.divideBy)


A suggestion is to create graph templates incorporating this code thereby reducing the amount of time you have to repeat this process.

Thanks,
Chris Drozdowski
Originlab Technical Support




Thank you, Chris.

---
Andrey
Chris D Posted - 09/23/2020 : 2:07:17 PM
Hi, Indeed it is as AKazak says.

Here is the proper formula to add Axis Tick Label Divide by Factor to an axis title manually. Double click on the title and replace it with one of the below.

For X axis

%(?X) $(layer.x.label.divideBy)


For Y Axis

%(?Y) $(layer.y.label.divideBy)


A suggestion is to create graph templates incorporating this code thereby reducing the amount of time you have to repeat this process.

Thanks,
Chris Drozdowski
Originlab Technical Support
AKazak Posted - 09/17/2020 : 2:56:43 PM
quote:
Originally posted by Chris D

If want to enter a special command in the label, why not just enter the divide by factor itself? Either way, you are entering something so it's not really saving any work.

Thanks,
Chris Drozdowski
Originlab Technical Support




It saves time since a user should enter the factor manually two times (to factor value and axis title text).


---
Andrey
Chris D Posted - 09/17/2020 : 2:15:29 PM
If want to enter a special command in the label, why not just enter the divide by factor itself? Either way, you are entering something so it's not really saving any work.

Thanks,
Chris Drozdowski
Originlab Technical Support
AKazak Posted - 09/17/2020 : 1:35:39 PM
quote:
Originally posted by SteffenHeu

Origin Ver. and Service Release (Select Help-->About Origin): OriginPro 2019 (64-bit)
9.6.0.172

Operating System: Win 10 Education 64 bit

Hey,

is there a way to automatically show the "divide by factor" input in the axis label? E.g a command you can enter to the description of the label. If the factor is set to 1E7 the label says "Area / 10^7 counts"? Or can ou only do that manually?

Thanks in advance




I like this smart idea.
LT can do this by taking layer.axis.label.divideBy (https://www.originlab.com/doc/LabTalk/ref/Layer-Axis-Label-obj) and putting it to xb.text$ (https://www.originlab.com/doc/LabTalk/ref/Text-Label-Options#Axis_TitleAxis_Title_Substitution).

---
Andrey

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