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
 Show and hide linked y axis problem

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
peter.cook Posted - 09/06/2004 : 07:28:39 AM
Origin Version (Select Help-->About Origin): 7.5 SR4
Operating System: Win2000

Hi,

I have a problem showing and hiding linked y axis. Essentially I'm trying to run script that allows me to show and hide objects/lines/datasets/axis/labels in one of two x-axis linked layers
something like
 
layer.y.showaxes=0;
layer.y.showlabels=0;
set dataset -s 0
text.show=0;

- is there a better way?
The y axis of the child layer is on the right but when I hide and then show via
layer.y.showaxes=0;
layer.y.show=1;

it repositions to the left!
This is annoying...any help would be appreciated.

Also, just found out layer.y.color does not work with the linked (child) y axis.
However, if you hide and show the child axis, when it repositions to the left it is now showing the correct (changed) colour (having hidden the parent y axis)!

Cheers,

Pete



Edited by - peter.cook on 09/06/2004 07:36:42 AM
1   L A T E S T    R E P L I E S    (Newest First)
peter.cook Posted - 09/06/2004 : 07:40:58 AM
Hi all,

Maybe my fault ... it seems I needed to use eg layer.showaxes=2 to display to the right.

Cheers,

pete


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