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
 Show and hide linked y axis problem
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

peter.cook

UK
356 Posts

Posted - 09/06/2004 :  07:28:39 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
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

peter.cook

UK
356 Posts

Posted - 09/06/2004 :  07:40:58 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi all,

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

Cheers,

pete

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