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
 Reversing the Horizontal Axis in an XYY plot
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

marryat

UK
Posts

Posted - 01/04/2005 :  07:41:02 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Origin Version (Select Help-->About Origin): 7
Operating System: Windows 2000 Pro
I have a 3D ribbon graph where I would like to reverse the Horizontal axis, and I can't find any way of doing it. I have changed the from and to values in the format plot dailog box on the scale tab. I have tried to reverse the order on the worksheet. Any ideas or solutions gratefully received.
Marryat

Mike Buess

USA
3037 Posts

Posted - 01/04/2005 :  08:06:29 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi Marryat,

There are two ways to do that from the script window.

1. Reverse the X axis direction without affecting the Y axis position in the graph window...

x=x1;
x1=x2;
x2=x;

2. Reverse the X direction and move the Y axis to the opposite side of the graph window...

layer.x.reverse=1;

Mike Buess
Origin WebRing Member

Edited by - Mike Buess on 01/04/2005 09:22:30 AM
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