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
 layer -y
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

joonhee93

3 Posts

Posted - 07/31/2011 :  01:22:23 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Origin Ver. 8.5.1 and Service Release 2(Select Help-->About Origin):
Operating System: Windows Vista

Hi,

I have multiple books, and put curves from them in one graph using Plot Setup. I have a single layer. Also I like to have top and right axes, so I wrote a script as follows:

label -s -xb "Frequency (Hz)"; //-xb: bottom X axis title
label -s -yl "Amplitude (dBm)";

layer.X.showLabels=1; //enable tick labels on the X axis
layer.X.opposite=1;
layer.Y.opposite=1;
layer.X2.showAxes =3;
layer.Y2.showAxes =3;
layer.X.ticks =1; // major ticks in for all the axes
layer.X2.ticks =1;
layer.Y.ticks =1;
layer.Y2.ticks =1;

yl.fSize=22;
XB.fSize=22;

After I execute this script, I run layer -y 0,40 in order to give 40% of y offset. Everything used to work very well in this way with Origin 8.0, but now I get multiple axes offset by the amount specified in the layer -y command with origin 8.5.1. Could you help me get rid of this problem?

Penn

China
644 Posts

Posted - 08/09/2011 :  10:18:34 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi,

It is a bug, and I have reported it. Sorry for the inconvenience.


Penn
Go to Top of Page

joonhee93

3 Posts

Posted - 08/29/2011 :  8:35:06 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Thanks!
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