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
 Customize axis labeling
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

5*10

Germany
Posts

Posted - 11/02/2011 :  09:49:03 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Origin Ver. and Service Release (Select Help-->About Origin): 8.5.0 SR1
Operating System: WinXP

Dear all,

I modified the default entry of the axis title by editing the [text] section in the origin.ini file which was located in my user Files folder. I wanted the title to be like

longname / unit

I did it that way:

XTitle=%(1X, @LA) / %(1X, @LU)

It works perfectly. But now the is the slash visible even if there are no units. Is there a way to avoid that??

I tried to find answer to this question in the origin help file as well as in this foprum but without success.

Thx for your answer

Daniel

Hideo Fujii

USA
1582 Posts

Posted - 11/03/2011 :  2:26:12 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi Daniel,

There is a system variable @LUQ which determines what 
delimiter is used for Units when they appear with Name 
in Graph Axis Title or Legend: 
  0 = disable, 
  1 = (unit)
  2 = [unit]
  3 = {Unit}
  4 = / Unit
  5 = - Unit

So, if you enter the following command in the script window, 
you can show the unit, if exists, in your desired format. 
  @LUQ=4

Unfortunately, this system variable was introduced in Origin 
ver.8.5.1, and is not available in ver. 8.5.0

--Hideo Fujii
OriginLab
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