Simple Math Panel

Use the Simple Math panel to access tool for applying mathematical operations to curves.

Location: Post page > XY Plots panel

You can combine two curves, transform a curve, or export a curve.

The operations available depend on the number of curves.
Number of Curves Valid Operations
One Add, Subtract, Divide, Max, Min
Two or more log, exp (exponent), sin, cos, atan, invert (swap X and Y), translate (add a constant), scale (multiply by a constant), external (enables export of a curve)

For every operation, you can specify that the x or y values of the curve remain fixed.

Examples of external filters are in the filters subdirectory. External filters exchange data with HyperMesh, using the standard curve data file format.

Panel Options

Option Action
plot = Click to select the desired plot.
1st curve = Click to select a curve, which will serve as your initial curve (for example, when subtracting, the second curve is subtracted from the first one.)
2nd curve = Click to select a curve, which will serve as your secondary curve (for example, when subtracting, the second curve is subtracted from the first one.) This field can be left blank when performing single-curve operations.
target =  
(operation switch) Select the desired mathematical operation. The available operations depend on the number of curves selected, and the operation chosen may cause additional inputs to display on the panel.
x-fixed / y-fixed Choose whether the X or Y values of the curves should remain fixed during the operation. Only the values not chosen here are affected by the operation (for example, multiplied or subtracted).
factor = Specify the amount (in model units) to translate or scale.
Note: Available when the operation is translate or scale.
filter = Specify a file name, or click to open a standard file browser which can be used to navigate to the desired file path and/or select an existing file name to overwrite.
Note: Available when the operation is external.
params = Specify necessary parameters.
Note: Available when the operation is external.

Command Buttons

Button Action
execute Perform the selected mathematical operation on the specified curves.
reject Undo the most recent mathematical operation.
return Exit the panel.