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
 Origin Forum
 Arrangement of plots with LabTalk

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
CStorey Posted - 03/08/2000 : 5:59:00 PM
I create a series of 10 graphs, 1-2 layers per graph, with a script and then merge them, also with a script. The problem is the plots don't arrange themselves in the proper order (proper=order of creation), and there seems to be no reason for the order in which they appear. Here's the code I use to merge the plots:

Top=5; Bottom=8; Left=8; Right=5; xgap=8;
win -m;
nColumn=((int(sqrt(page.nlayers)))^2==page.nlayers?sqrt(page.nlayers) int(sqrt(page.nlayers))*(int(sqrt(page.nlayers))+1)>=page.nlayers?int(sqrt(page.nlayers)):int(sqrt(page.nlaye rs))+1));
nRow=((int(sqrt(page.nlayers)))^2==page.nlayers?sqrt(page.nlayers):int(sqrt(page.nlayers))+1);

CheckVar nRow 2;
CheckVar nColumn 1;

CheckMargins;
ArrangeLayers nRow nColumn;

This code is just ported from the Merge:Open menu. How do layers get added with the merge command? Is it alphabetically, in order of creation or in order of modification? If I new this then I could better address the problem. Also if anyone has a better scripting suggestion please let me know.

Thanks,
Craig

[This message has been edited by CStorey (edited 03-08-2000).]

1   L A T E S T    R E P L I E S    (Newest First)
greg Posted - 03/10/2000 : 8:58:00 PM
FYI:

The Layers are created from the Graphs in the order in which the Graphs were created (earliest to latest).

When merged to one row, the Layers add left to right.

When merged to one column, the Layers are added bottom to top.

When merged to rows and columns, the Layers are added in 'book' order - left to right, then top to bottom.

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