Use the mathematical – symbol to perform negation or subtraction on a previously saved X–Y data object (a collection of ordered pairs) to produce a new X–Y data object.
To perform negation, precede a single X–Y data object with the – operator. Negation yields a new X–Y data object having the same X-coordinate values as the original X–Y data object. ABAQUS/CAE computes the new Y-coordinates as the negative of each original Y-coordinate.
To perform subtraction, use one of three methods:
To subtract a scalar from an X–Y data object:
This method yields a new X–Y data object having the same X-coordinate values as the original X–Y data object. ABAQUS/CAE computes the new Y-coordinates as the scalar subtracted from each original Y-coordinate. For example, if
To subtract an X–Y data object from a scalar:
This method yields a new X–Y data object having the same X-coordinate values as the original X–Y data object. ABAQUS/CAE computes the new Y-coordinates as each original Y-coordinate subtracted from the scalar. For example, if
To subtract one X–Y data object from another X–Y data object:
This method yields a new X–Y data object having as its X-coordinates all X-coordinates of the first data object and any additional X-coordinates needed for alignment of the two objects. ABAQUS/CAE computes additional X–Y data pairs by interpolation and extrapolation. The new data object has as its Y-coordinates the Y-coordinates of the second data object subtracted from the Y-coordinates of the first data object. For example, let
To use negation or subtraction on X–Y data objects:
Locate the Operate on XY Data dialog box.
From the main menu bar, select ToolsXY DataCreate. Click Operate on XY data in the dialog box that appears; then click Continue. The Operate on XY Data dialog box appears.
From the Operators listed, click –.
The – symbol appears in the expression window.
Use your mouse and keyboard to position the cursor in the expression window; then specify the necessary arguments. Available X–Y data objects include all those previously saved within this session (listed alphabetically in the XY Data field).
To use negation
From the XY Data choices, click the name of the X–Y data object to negate and click Add to Expression.
To use subtraction
Use your keyboard to type in a scalar argument, or
From the XY Data choices, click the name of the X–Y data object on which to operate and click Add to Expression.
To continue to build your expression, position the cursor in the expression window and type in or select the functions, operators, and X–Y data you want to include.
To evaluate and display your expression, click Plot Expression.
To save your new X–Y data object, click Save As and then provide a name in the dialog box that appears.
Saving your data object makes it available for future operations within this session and for inclusion in X–Y plots containing multiple data objects.
When you are finished, click Cancel to close the dialog box.