CADETProcess.dynamicEvents.EventHandler.plot_events

CADETProcess.dynamicEvents.EventHandler.plot_events#

EventHandler.plot_events(x_axis_in_minutes: bool = True) list[Axes][source]#

Plot parameter state as a function of time.

The method creates a plot for each parameter timeline and displays the state of the parameter against time. The time is represented on the x-axis, while the parameter state is shown on the y-axis.

Parameters:
x_axis_in_minutes: bool, optional

If True, the x-axis will be plotted using minutes. The default is True.

Returns:
list[Axes]

List of Axes objects, each containing a plot of the parameter state.

Notes

The time is divided into 1001 linearly spaced points between 0 and the cycle time for the evaluation of the parameter state.