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
 Origin Forum
 Units in Graphs
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

agschmor

Germany
3 Posts

Posted - 03/18/2008 :  06:35:33 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
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

Echo_Chu

China
Posts

Posted - 03/19/2008 :  05:49:18 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
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
Go to Top of Page

agschmor

Germany
3 Posts

Posted - 03/28/2008 :  10:03:26 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Thank you!
This works without problems.
Tanja
Go to Top of Page

Kuli

1 Posts

Posted - 04/27/2011 :  12:39:13 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
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?
Go to Top of Page

Echo_Chu

China
Posts

Posted - 04/28/2011 :  04:34:34 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
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?


Go to Top of Page

easwar

USA
1964 Posts

Posted - 04/28/2011 :  10:45:46 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
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
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