Setting the Independent Quantity

In an XY-plot, the X-Type quantity is the independent (or control) quantity. Y-Type quantities are the dependent (or measured) quantities. Each Y-Type quantity takes data from all parts that you assign to the [xy plot] node.

By default the X-Type quantity is assigned to the bottom (horizontal) axis. You can choose to swap the order and assign the X-Type quantity to the vertical position.

NoteThe XY plot must contain data in order for this change to be applied.
  1. To invert the default orientation of the X and Y axes:
    1. Select [xy plot] > X Type and set X-Axis to Left Axis.
    2. Select [xy plot] > Y Types > [Y Type 1] and set Y-Axis to Bottom Axis.
The following instructions assume that you are retaining the default settings and that the independent variable (for example, X-position) is allocated to the X-Axis. The dependent or measured variables are assigned to Y-Types.
  1. Choose the independent variable.
    1. Select the [xy plot] > X Type node and set Data Type to Direction or Scalar. Observe the following:
      • Direction: When the Type property is set to Direction, the Vector Quantity sub-node defines the data for the axis of the plot to come from a direction vector. Since simulation parts may exist in three-dimensional space while each axis of an XY plot represents only a single dimension, the three-dimensional coordinates of the part being plotted must be reduced to one. This objective is accomplished by specifying a direction vector to which the position of sample locations is projected.



        For Direction, you must also select Vector Quantity and set Value to a vector along which you wish to project the dependent variable for each data point.

      • Scalar: When the Type property is set to Scalar, the Scalar Function sub-node defines the data for the axis of the plot to come from a scalar field function.