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
 Why labtalk ignore axis.break.from?
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

thomaslilong

Germany
Posts

Posted - 07/09/2007 :  05:34:59 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Origin Version (Select Help-->About Origin): 7.5
Operating System:Win200
Dear all,
I try to introduce a break in a 2d plot with following script.
...
%a!layer1.x.from=0;
%a!layer1.x.to=180;
%a!layer1.x.break.from = 15;
%a!layer1.x.break.to = 160;
...
The graphic is ok it draws from 0 to 180, but it gives a plot without any break. The command axis -b x with the break tab works fine.
Li

Mike Buess

USA
3037 Posts

Posted - 07/09/2007 :  08:24:10 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
The programming guide entry for layer.axis.break says that a break must already exist before its properties are valid. In other words, layer1.x.break.from = 15 generates a command error unless an X axis break already exists in layer 1.

Mike Buess
Origin WebRing Member
Go to Top of Page

thomaslilong

Germany
Posts

Posted - 07/09/2007 :  11:14:35 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Thank you, Mike.
That means one must manually work out a template .otp with axis break. Then use this axis.break.from property further in a script.
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