Plotting the Execution Result

From the Dynamic Behavior Modeling workbench and from the System Experiment workbench, you use the virtual execution results in the Variable Browser to isolate the results for one or more variable in a watch list, and plot the results.

Tips: You can change the unit used to display variable values in this window. To do so, go to Tools > Options > General > Parameters and Measure > Units tab, and in the Units area, specify a new unit for the applicable magnitude (Time being the default).

This task shows you how to:


Before you begin:

The results are listed in the Variable Browser.

Related Topics
Working with the Variable Browser

Plot Results

This scenario shows you how to plot two variables in a window, and how to plot the comparison between these two results.

These commands are available from the contextual menu of the Variable Browser.

  1. From the Variable Browser, right-click a variable (scalar variable only) to display the contextual menu.

  2. To plot the result in a new window, you can either:

    • Select New Plotter.
    • Double-click the variable.



  3. Optional: To modify the variable to be taken into account as the abscissa of the plot,

    1. Right-click the chart and select Change Abscissa Variable.
    2. In the Variable Browser, select the variable that you want to use for the abscissa.

  4. Right-click a second variable, then select Existing Plotter > Plotter1.

    The second variable is added to the first plotter.

  5. Right-click the same variable, then select Plot Difference With...

    The Plot Difference With... dialog box appears, in which you can select a destination for your plot.

  6. Select Plotter 1 in the Destination for plot box.

  7. From the Variable Browser window, select the first variable.

    The comparison between these two values is computed and added to Plotter 1.

  8. Click Close to exit the Plotter window.

Update Plot Results

Provided that you selected the Update plotters after each simulation option (from Tools > Options... > Systems > Dynamic Behavior Modeling > Results > Plots), the Plotter window is updated after a parameter modification and simulation replay.

  1. Perform a virtual execution.

  2. Plot the execution results.

  3. Modify a parameter in the Parameter and Variable Editor.

  4. Perform the virtual execution again.

The results will be updated within the existing Plotter window.