Analysis: Mathematics: Simple Curve Math
Perform simple arithmetic on a curve or XY data range.
Please refer to the page for additional option switches when accessing the x-function from script
Input
XYRange
Input XY data range or curve
int
Operator Option list
The operand type. Option list
Specifies a curve (XY Range) as operand. This option is available when you select Reference Data from the Operand drop-down. When the two datasets' coordinates differ, the two curves will be interpolated or extrapolated with linear interpolation before the specified operation is performed.
double
Specifies a constant as operand. This option is available when select Const from Operand drop-down.
string
Specifies the formula to calculate, in which y1 means Input1 and y2 means Reference data. This option is available when Custom is selected from Operator drop-down list.
Operate on the common range between the two curves. This checkbox is available when select Reference Data from Operand drop-down.
Specify whether to rescale the source graph after arithmetic operation.
Output
Specifies the output data range. In script, the default option is <input>, while in GUI, defult is <new>. See the syntax here.
Minimum X value of output curve
Maximum X value of output curve
Mean X value of output curve
Minimum Y value of output curve
Maximum Y value of output curve
Mean Y value of output curve
mathtool -d;
The original curve will be subtracted. The result should show as follows:
Please refer to this page in the User Guide for more information.
vmathtool