About X-Y Plot Components

You use the X–Y Plot component to display a line or scatter plot of the data in columns of 1D and 2D array parameters.

This page discusses:

See Also
Adding X-Y Plot Components
About Rules
Creating Rules
Viewing Rules

Example

The following figure shows an example of the properties of an X–Y Plot component:

The following figure shows the resulting output in the customized simulation template:

Properties

Some of the X–Y Plot component's properties depend on whether you use the component to plot 1D or 2D array parameters; that is, they depend on the value of the Data Source property.

The X–Y Plot component has the following properties that are applicable when plotting either 1D or 2D array parameters:

Property Description Type Supports Rule Creation
Name ID of the component (read-only) String
Data Source Type of parameter to plot, 1D array or 2D array Enum
Label Text to display above the plot String
Custom color Color in which to display the label String
X-Axis Lower Bound Minimum value on the X-axis Integer or Real
X-Axis Upper Bound Maximum value on the X-axis Integer or Real
Y-Axis Lower Bound Minimum value on the Y-axis Integer or Real
Y-Axis Upper Bound Maximum value on the Y-axis Integer or Real
Hidden Whether to hide or show the component Boolean
Border Color Specifies the appearance and color of a border around the component String
Tooltip Additional information that appears when the user hovers over the component's help icon String

The X–Y Plot component has the following properties that are applicable only when plotting 1D array parameters (that is, when you specify the Data Source as a 1-D Array):

Property Description Type Supports Rule Creation
Plot Type Type of plot for 1D array parameter, line or scatter plot Enum
X Axis 1D array parameter to bind with the X-axis 1D array parameter
Y Axis 1D array parameter to bind with the Y-axis 1D array parameter
Color Axis 1D array parameter to bind with the color axis 1D array parameter
X-Axis Name Text to display along the X-axis String
Y-Axis Name Text to display along the Y-axis String
Color-Axis Name Text to display along the color axis legend String

The X–Y Plot component has the following properties that are applicable only when plotting 2D array parameters (that is, when you specify the Data Source as a 2-D Array):

Property Description Type Supports Rule Creation
Value 2D array parameter to bind with the component 2D array parameter
X Axis Index Row or column in the array that contains the X-axis data.

The index refers to a row if you specify Column as the Data Direction or to a column if you specify Row as the Data Direction.

Integer
Y Axis Index Comma-separated list of rows or columns in the array containing Y-axis data. If you enter multiple values, Process Experience Studio overlays multiple plots.

The indices refers to rows if you specify Column as the Data Direction or to columns if you specify Row as the Data Direction.

Integer
X Axis Name Text to display along the X-Axis String
Y Axis Names Comma-separated list of text to display along each Y-axis String
Data Direction Whether the data progresses along each Row or along each Column Enum