Académique Documents
Professionnel Documents
Culture Documents
;
#//row stats on all columns to the left
//we will do all the scripting here, column formula can be empty
const nn=_ThisColNum;
range mean=wcol(nn), sd=wcol(nn+1), npts=wcol(nn+2);
sd.type = 3;//YErr
mean.type = 1;//Y
npts.type = 2;//disregard, not to plot
[Normalize column 0 to 1]
;
#// Get index of current column
const nn = _ThisColNum;
// Get min and max using stats XF
stats wcol(nn);
// Subtract min and scale by (max-min)
wcol(nn) -= stats.min;
wcol(nn) /= (stats.max - stats.min);