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
 updating axis scales

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
wallacej Posted - 01/19/2005 : 08:35:19 AM
I have a labtalk script that generates a report from an Excel worksheet. There are several graphs on the report.
I am trying to automate the update of the x axis scale on one of the graphs when the user clicks a button. The scale should be set as the same of that on another graph when the button is clicked.

Can anybody point me in the right direction, I only need help with the part where the x axis scale is updated, not with the use of buttons.

Thank You
2   L A T E S T    R E P L I E S    (Newest First)
wallacej Posted - 01/19/2005 : 11:34:50 AM
Thank You again

That really helped
Mike Buess Posted - 01/19/2005 : 10:21:01 AM
The following script copies the X axis scale from Graph1/layer1 to Graph2/layer1.

win -a Graph1;
xFrom = layer1.x.from;
xTo = layer1.x.to;
win -a Graph2;
layer1.x.from = xFrom;
layer1.x.to = xTo;

You can also use the system variables X1 and X2 but there are many more properties of the layer.axis object that you might find useful.

Mike Buess
Origin WebRing Member

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