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
 Units in Graphs

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
agschmor Posted - 03/18/2008 : 06:35:33 AM
Origin Version: 8.0773
Operating System: Win XP

Origin Version : 8.0773
Operating System : Win XP

Hi,
I'm searching for the possibility to customize the format for units in graphs. Right now units appear as x[unit] but I'd like to appear it as x / unit.

Can anybody tell me how to customize this?

Thanks!
Tanja
5   L A T E S T    R E P L I E S    (Newest First)
easwar Posted - 04/28/2011 : 10:45:46 AM
quote:
Originally posted by Kuli

But if there is no unit, the "/" will still appear, right?
E.g. if LongName = "ratio" and unit = "" this will result in
ratio/

With the standard settings, the parentheses around the units are only printed if there are units available.
Is it possible to get the same behavior for the "/"?
Or to replace the square-brackets in the german version with parentheses?




Hi,

You can replace the square brackets with parantheses, the following way:

1. Open script window (menu: Window: Script Window)
2. Type the statement below and press enter at end of line:
@LUQ=1

This is a system variable that controls what will be used. Value of 1 will use ( ) and value of 2 (which is default for German Origin) will use [ ].

To set this system var for every Origin session, do the following:
1> close Origin
2> go to the EXE folder and copy the file orgsys.cnf and place the copy in you UFF (user files) folder
3> Edit the file in the user files folder and at the very end of the file add the statement
@LUQ=1;
and save file
4> restart Origin

Easwar
OriginLab

P.S. One correction:
Although orgsys.cnf works, my colleagues pointed out, it is better to place this command in macros.cnf
Echo_Chu Posted - 04/28/2011 : 04:34:34 AM
Hi, Hartmut,

I am afraid that Origin can not do this currently. Thank you for you suggestion. We will consider to improve it in our next version.

Echo


quote:
Originally posted by Kuli

But if there is no unit, the "/" will still appear, right?
E.g. if LongName = "ratio" and unit = "" this will result in
ratio/

With the standard settings, the parentheses around the units are only printed if there are units available.
Is it possible to get the same behavior for the "/"?
Or to replace the square-brackets in the german version with parentheses?


Kuli Posted - 04/27/2011 : 12:39:13 PM
But if there is no unit, the "/" will still appear, right?
E.g. if LongName = "ratio" and unit = "" this will result in
ratio/

With the standard settings, the parentheses around the units are only printed if there are units available.
Is it possible to get the same behavior for the "/"?
Or to replace the square-brackets in the german version with parentheses?
agschmor Posted - 03/28/2008 : 10:03:26 AM
Thank you!
This works without problems.
Tanja
Echo_Chu Posted - 03/19/2008 : 05:49:18 AM
Hi, Tanja

Please try changing your axis title from %(?X) to %(?X,@LA)/%(?X,@LU), %(?X,@LA) shows the long name of column and %(?X,@LU) shows the unit of column

Echo
OriginLab Corp

Edited by - Echo_Chu on 03/19/2008 05:51:27 AM

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