Finding the average of two or more X–Y data objects

Use the avg function to operate on two or more previously saved X–Y data objects (each object is a collection of ordered pairs) to produce a new X–Y data object. The new X–Y data object has as its X-coordinates all X-coordinates of the input data objects and any additional X-coordinates needed for alignment of the input data objects. Abaqus/CAE computes additional X–Y data pairs by interpolation and extrapolation. Abaqus/CAE computes the new data object Y-coordinates as the average of all input Y-coordinates at the current X-coordinate. The arguments of this operation are commutative.

See Also
Finding the current average of an X–Y data object
Using X–Y data operations

Context:

Figure 1 illustrates the type of X–Y plot that can be produced using the avg function.

Figure 1. X–Y plot produced using the avg function.

For information on how to find the current average of a single X–Y data object, see Finding the current average of an X–Y data object.

  1. 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.

  2. From the Operators listed, click avg(X,X,...).

    The avg function appears in the expression window.

  3. From the XY Data choices, click the names of two or more X–Y data objects on which to operate and click Add to Expression. You can choose from all X–Y data objects previously saved within this session (listed alphabetically in the XY Data field).

    The X–Y data object names appear, separated by commas, within the avg function parentheses in the expression window.

  4. 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.
  5. To evaluate and display your expression, click Plot Expression.
  6. 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.

  7. When you are finished, click Cancel to close the dialog box.