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
 All Forums
 Origin Forum for Programming
 LabTalk Forum
 Switching an axis break on/off?

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

Screensize:
UserName:
Password:
Anti-Spam Code:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkUpload FileInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
johannes.kastl Posted - 12/14/2012 : 03:55:12 AM
Hello,

it is possible to change the properties of an existing axis break via labtalk. But I found no way to switch the break on/off via labtalk. Is there a way?

Also I found no way of detecting whether or not an axis break exists. The properties on http://wiki.originlab.com/~originla/wiki/index.php?title=LabTalk:Layer.Axis.Break_%28object%29 are only valid, when a break exists, but how to check that?

Regards,
Johannes

Origin Ver. and Service Release (Select Help-->About Origin): 8.6G SR3
Operating System: Win XP
4   L A T E S T    R E P L I E S    (Newest First)
johannes.kastl Posted - 01/10/2013 : 09:20:15 AM
Thanks for your answer, Kathy. Seems like a good way to check for a break. I always forget the ==0/0 thingy... ;-)

Regards,
Johannes
Kathy_Wang Posted - 01/09/2013 : 9:56:38 PM
Hi Johannes,

I already submitted such feature request that to enable axis break with LT.

As to check whether an axis break exist, there's not an object property for this but since if there's no axis break, properties such as the layer.axis.break.from will return a missing value, so you could use this to determine, an example would be:


if(layer.x.break.from==0/0)
   type -b "There's no axis break";
else
   type -b "There's an axis break";


Kathy
Originlab
johannes.kastl Posted - 01/09/2013 : 08:20:37 AM
Hi Kathy,

thanks for your answer. This would be a nice feature to be added to newer origin versions.

Any thoughts on the check for the axis break? (If this does not exist by now that would be a feature request, too...).

Regards,
Johannes
Kathy_Wang Posted - 12/20/2012 : 03:42:02 AM
Hi,

There's no way to turn on the axis break via labtalk, you have to do this manually, sorry.

Kathy
Originlab

The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000