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
 zoom two layers at the same time
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

G.Bartsch

Germany
Posts

Posted - 07/11/2006 :  10:47:47 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
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

Sell

Germany
20 Posts

Posted - 07/11/2006 :  11:01:13 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
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.
Go to Top of Page

G.Bartsch

Germany
Posts

Posted - 07/13/2006 :  04:02:51 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
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
Go to Top of Page

Deanna

China
Posts

Posted - 07/13/2006 :  06:06:45 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
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
Go to Top of Page

G.Bartsch

Germany
Posts

Posted - 07/13/2006 :  07:26:55 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
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.
Go to Top of Page

Deanna

China
Posts

Posted - 07/13/2006 :  9:22:26 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
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
Go to Top of Page

greg

USA
1380 Posts

Posted - 07/19/2006 :  1:08:41 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
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.

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