I would like to plot histograms with this bellow %A="histlessbox";
nLayers=5; //Number of Layers %P=MyPlot; win -t plot Column %P; //Create a new graph page nn=nLayers-1; repeat nn { page -L layer; plot -L; //update the active layer } //Generate multiple layers on the page
width=30; height=30; //Layer width and height cc=1;rr=0; nCol=3;nRow=2; win -a %P; //make active j=2; for (ii = 1; ii <= nLayers; ii++) { cc=mod(ii,nCol); cc=cc==0?3:cc; rr=cc==1?(rr+1):rr; layer -s ii; //select the ii layer in the active window layer width height (4+(cc-1)*(width+2)) (10+(rr-1)*(height+10)); //Arrange layer. %A!wks.col$(j-1).type=4; //set to x; %B = %A!wks.col$(j).name$; layer -i %A_%B; layer -a; //rescale axes to show all data j=j+2; };