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 for Programming
 LabTalk Forum
 move/shift/offset only axis lable, not the axis
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

asenv

35 Posts

Posted - 09/18/2011 :  1:09:07 PM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Origin Ver. and Service Release (Select Help-->About Origin): 8.1G SR3
Operating System:windows 2000

Hi mates,
is it possible with labtalk command, or with OriginC to move only the axis lable and not the axis? See in the picture below where -130% is.



P.S. I found this thread:
http://www.originlab.com/forum/topic.asp?TOPIC_ID=8653

which has this (i think undocumented) commands:
layer.x.postype = 2; // Use absolute
layer.x.position = 0;
layer.y.postype = 2;
layer.y.position = 0;


but they move the axis with its lable and I want only the lable.

Cheers,
Asen

Hideo Fujii

USA
1582 Posts

Posted - 09/19/2011 :  11:32:34 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi Asen,

Here you can try:

layer.x.label.OFFSETV=-130

--Hideo Fujii
OriginLab
Go to Top of Page

asenv

35 Posts

Posted - 09/19/2011 :  12:06:56 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi Hideo,
thank you very very much, it works great. I should have searched harder in LabTalk manual. Now I see it, but before I really did not notice the "Layer.Axis.Label" section.

Cheers,
Asen
Go to Top of Page

Hideo Fujii

USA
1582 Posts

Posted - 09/19/2011 :  12:54:04 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Oh, sure.... but what I did was simply first enter the following command in the Script window:
layer.x.label.=<ENTER>

--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