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
 zoom two layers at the same time

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
G.Bartsch Posted - 07/11/2006 : 10:47:47 AM
against all expectance i already have a new problem,
i have a graph window with to layers. one is filled with an image plot, the other with a scatter/line plot.
if i zoom, only the active layer reacts. unfortunately neither i didnt find a direct way to link those two layers somehow nor i was able to get both plots into one layer.
maybe someone knows something useful?
best regards gregor
6   L A T E S T    R E P L I E S    (Newest First)
greg Posted - 07/19/2006 : 1:08:41 PM
Additional layers in a Graph Window, can be linked in either their scales or their dimensions or both.
Linking always occurs between a Parent and a Child Layer where Parent layers always have a lower layer number.

If you select Format : Layer from the menu, the Plot Details dialog opens. For all layers greater than 1, selecting a Layer in the tree on the left will give you access to a 'Link Axes Scales' tab. Here you can select a layer to link to.
You can also select to link either X or Y or both to use No linking, a 1-to-1 linking or a custom linear linking.
On the Size/Speed tab, you can choose 'Units' of '% of linked layer' whenever you have enabled linking.

Once linked, changes to the Parent layer will be reflected in any Child layers that have their size changed, while changing the size/location of a Child layer will have no effect on a Parent.

For the case of Linked 1:1, using the standard zoom tools or the Graph : Rescale to show all should update both graphs.

Deanna Posted - 07/13/2006 : 9:22:26 PM
How able another Zooming tool in the graph toolbar in Origin 7.5? It is capable to zoom the whole page.



Deanna
OriginLab GZ Office

Edited by - Deanna on 07/13/2006 9:22:59 PM
G.Bartsch Posted - 07/13/2006 : 07:26:55 AM
thank you for the hints.
this is a workaround i also thought about. nevertheless i still hope that there is a more direct way, since it would be better to use the standard origin zooming tool.
Deanna Posted - 07/13/2006 : 06:06:45 AM
Hi, I think we can write a Labtalk script to zoom two layers.

It should goes like:
1) Activate a layer, set x1, x2, y1, y2 to new values with a ratio;
2) Activate another layer. set x1, x2, y1, y2 to a new value with the sample ratio.

Maybe we can make a button with this ogs for future use.

If you have another problem regarding the programming, we can go on discussing.

Deanna
OriginLab GZ Office

Edited by - Deanna on 07/13/2006 06:09:07 AM
G.Bartsch Posted - 07/13/2006 : 04:02:51 AM
an image plot is a matrix plot. this description is also used in origin menu. i do image plots by
worksheet -p 220 "template"; (matrix should be acive)
(this semms not to be in documentation)
the scatter/line plot should be clear.
any further questions?
best regards gregor
Sell Posted - 07/11/2006 : 11:01:13 AM
What is an image plot? Please, try to explain your problem in this regard. Maybe you should describe your steps you made to create the layered diagrams.

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