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
 Axes labels using Labtalk?
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

Stephen

Atlanta, GA, USA
5 Posts

Posted - 09/21/1998 :  1:27:00 PM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Is there any way to label axes using Labtalk?

a_user

USA
0 Posts

Posted - 09/23/1998 :  1:25:00 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Axis labels are objects. If you already have existing axis labels and enter Button Edit Mode (Edit:Button Edit Mode) you will notice the object name appear above the label. For example the object name for the bottom x axis label is XB. The object name for the left y axis label is YL. Therefore to change the label (or create a new label) in script of the bottom x axis (assuming the graph in question is the active window) you would use (example):

label -n xb Time;

Go to Top of Page

Stephen

Atlanta, GA, USA
5 Posts

Posted - 09/24/1998 :  2:22:00 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
One more question about axes labels. Is there any way using Labtalk to rotate the Y-axis label 90 degrees?

Thanks,
Stephen

Go to Top of Page

Steve Dreger

berlin, germany
5 Posts

Posted - 09/29/1998 :  7:48:00 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
If you know the name of the Graph's window
you can use the rotate property of the Layer.Axis.Label object. Try following Labtalk command for rotating y axis label to 90 degrees:

[GraphName!]layer.y.label.rotate=90

(or see LabTalk manual page 252)

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