Macro Language: Calculation Commands
fg <axis> <min> <max> <steps> <expr>
<axis>: The target axis (1 = X axis, 2 = Y axis)
<min>, <max>: The range of the new generated function.
<steps>: Number of steps for the function.
<expr>: Expression which defines the function.
bcalc <buffer1> <operator> <buffer2>
<operator>: + - * /
calc <data> <expr> <BUFFER>
<data>: The target axis (1 = X values, 2 = Y values, 3 = X error, 4 = Y error)
<expr>: Expression which defines the calculation.
swapxy <BUFFER>
normx <ref1> <ref2> <new1> <new2> <BUFFER>
ref1 value becomes the new1 value and the ref2 value becomes the new2 value.
normy <ref1> <ref2> <new1> <new2> <BUFFER>
ref1 value becomes the new1 value and the ref2 value becomes the new2 value.
movex <from> <to> <BUFFER>
movey <from> <to> <BUFFER>
cutoutsidex <min> <max> <BUFFER>
min and max
cutinsidex <min> <max> <BUFFER>
min and max
cutoutsidey <min> <max> <BUFFER>
min and max
cutinsidey <min> <max> <BUFFER>
min and max
calcint <min> <max> <BUFFER>
integral.
linreg <min> <max> <BUFFER>
min and max. The result of the last regression will be stored in the variables rega, regb and regr.
logreg <min> <max> <BUFFER>
min and max. The result of the last regression will be stored in the variables rega, regb and regr.
expreg <min> <max> <BUFFER>
min and max. The result of the last regression will be stored in the variables rega, regb and regr
linbg <a> <b> <BUFFER>
smooth <factor> <BUFFER>
factor as the effective smooth width and performs a least square smooth to reduce the noise on the buffer.
fftsmooth <factor> <BUFFER>
factor as the effective smooth width and performs an FFT based smooth to reduce the noise on the buffer.
datareduction <n> <BUFFER>
n points, builds the average, and replaces the n points with the new one.
spline <points> <strength> <BUFFER>
<points>: Defines the number of points which should be calculated for each interval.
<strength>: Defines the strength of the interpolation. 2 is in most cases a good choice.
fft <windowing> <BUFFER>
<windowing>: 1=none, 2=Hanning, 3=Welch, 4=Parzen
diff <interval> <BUFFER>
integrate <BUFFER>
setxval <BUFFER> <index> <value>
setyval <BUFFER> <index> <value>
setxeval <BUFFER> <index> <value>
setyeval <BUFFER> <index> <value>