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).]