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
 How to change default x and y axis titles?

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
cjbf Posted - 09/22/2004 : 2:44:53 PM
Origin Version (Select Help-->About Origin): 7.5SR4
Operating System: Windows XP

How can I change the default behaviour of the x and y axis titles to show eg the label of the x or y axis? It's always amazed me that Origin didn't do this automatically, as it must be what most people require?
This seems an obvious question but I can't find the answer.

Thanks in advance,
Chris.
2   L A T E S T    R E P L I E S    (Newest First)
Hideo Fujii Posted - 09/23/2004 : 11:11:32 AM
Hi Chris,

As you probably agree, Origin graphs have sophisticated structures like groups, layers, various 2D/3D graph types, etc. But, if you are only looking for a simple graphing such as a scatter/line graph from highlighted columns, you can try the following simple script.
First, put these lines in the CUSTOM.OGS file by a text editor like Notepad. After that in Origin, highlight first 2 cloumns in a worksheet, then click the Custom Tool tool button. You get axis labels from the column names and labels.
Hope this tip helps a little bit of your work...

Hideo
OriginLab

//==========
ii=1;
%P="LineSysmbol Scatter Line Column Bar";
GetN (Graph Type) ii:P (Select a Graph Type);
%O=%h;
%a=%O!wks.col1.name$;
%b=%O!wks.col2.name$;
%k=%O!wks.col1.label$;
%l=%O!wks.col2.label$;
%m=%a %k;
%n=%b %l;
if(ii==1) {
win -t plot LINESYMB; layer -i %O_%b;}
else if(ii==2) {
win -t plot SCATTER; layer -i %O_%b;}
else if(ii==3) {
win -t plot LINE; layer -i %O_%b;}
else if(ii==4) {
win -t plot COLUMN; layer -i %O_%b;}
else { //ii=5;
win -t plot BAR; layer -i %O_%b;};
label -s -xb %m;
label -s -yb %n;
layer -a;
clr;
//==========


sammi.song Posted - 09/23/2004 : 01:50:18 AM
Hi Chris,

In 8.0 version, we are adding new header rows like Long Name, Short Name, Units, Comments, etc in new workbook. And we are also planning to automatic use of these fields when generating plots.
To that end we are adding some substitution notations to LabTalk so that they can be automatically placed those header rows in Axis titles and Legends.

Thanks,
Sammi

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