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
 Positioning of X and Y axes
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

peter.cook

UK
356 Posts

Posted - 05/02/2006 :  07:23:36 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Origin Version (Select Help-->About Origin): 7.5 SR6
Operating System: Win2000

Hi,

I have an X, Y graph say X = -20 to 120 and Y = -20 to 120.
I want to keep the axes and tcks at Y=0 and X=0 respectively but would also like to keep the original position of the axis labels (XB and YL) such that they are always out of the graph 'frame'.

Thanks,

Cheers,

Pete

rlewis

Canada
253 Posts

Posted - 05/09/2006 :  7:02:01 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Try this ...

Create a 2D graph layer with the x-axis at bottom and y-axis at left
Set the x-range .. layer.x.from=-20 .. layer.x.to=120
Set the y-range .. layer.y.from=-20 .. layer.y.to=120
From the menu select Format - Axes - X Axis to open the layer axes dialog box

Click on Title & Format Tab.
Select the bottom Axis by clicking on the Bottom icon
Click on GridLines
Check the Opposite check box in the Additional lines group

Click on Title & Format Tab.
Select the Top Axis by clicking on the Top icon
Check the Show Axis & Ticks Check box
Set Major Ticks to In & Out
Set Minor ticks to In & Out
Set Axis Position to "At Position ="
Enter 0 in the Percent/Value Edit box

Click on Title & Format Tab.
Select the Left Axis by clicking on the Left icon
Click on GridLines
Check the Opposite check box in the Additional lines group

Click on Title & Format Tab.
Select the Right Axis by clicking on the Right icon
Checj the Show Axis & Ticks Check box
Set Major Ticks to In & Out
Set Minor ticks to In & Out
Set Axis Position to "At Position ="
Enter 0 in the Percent/Value Edit box

Go to Top of Page

peter.cook

UK
356 Posts

Posted - 05/10/2006 :  08:15:11 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi,

Thanks for replying.

Not quite what I wanted thanks. Another way to put it is that I get eaxctly what I want by setting both x and y axis position to = 0. The only problem then is that both labels are moved despite setting the labels to be linked to page. It appears that the linnking to layer is reassigned. - I'd suggest that this is a bug. It is only the original position of the labels that I want retained.

Cheers,

Pete

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