Note: You must be registered in order to post a reply. To register, click here. Registration is FREE!
T O P I C R E V I E W
Smilik305
Posted - 10/09/2017 : 09:55:25 AM Hello,
I'd like to plot every 5th column into the same graph in one layer. I came up with the following script: int ii; int nCols=wks.nCols; for (ii=9;ii<=nCols; ii+=4) {
But, intead, it plots every column in a separate layer. With an additional indication of o:=[Graph1] it plots every column in a separate plot. Could you please help me modify the code so that it does the job I want?
3 L A T E S T R E P L I E S (Newest First)
Cabesaso
Posted - 10/13/2017 : 11:55:04 AM That works like a charm. Thanks from me as well Couturier!
Smilik305
Posted - 10/10/2017 : 04:45:31 AM Thank you!
couturier
Posted - 10/10/2017 : 03:21:45 AM Just specify the layer in which you want to plot your data: o:=[Graph1]1!
as for layer.x.type=2; layer.y.type=2; rescale;
it can be put outside of the loop. No need to execute these lines for each iteration