Currently my code snippet below copies open charts (distributions and heatmaps) into a journal depending on the occurrence of specific text (e.g. "Distribution") in window name list (postWindowList) of the open charts.
However, the journal gets the chart one below the other in one column. I would like them the charts to be in a MXN grid. How to achieve this from within the loop?
istart = LengthOfpreWindowList + 2; //e.g. istart = 10
iend = LengthOfpostWindowList; //e.g. iend = 24
nw = New Window( "My Report" , <<journal);
For( i = istart, i <= iend, i++,
If( Contains(postWindowList[i], "Distribution" ),
Window (postWindowList [i])[outlinebox(2)]<< journal,
Window (postWindowList [i])[outlinebox(1)]<< journal;
)
);
I am on JMP 13.
When it's too good to be true, it's neither