CADETProcess.solution.SolutionIO.plot

CADETProcess.solution.SolutionIO.plot#

SolutionIO.plot(start: float | None = None, end: float | None = None, components: list[str] | None = None, x_axis_in_minutes: bool = True, *args: Any, **kwargs: Any) tuple[Figure, Axes | tuple[Axes]][source]#

Plot the entire time_signal for each component.

Parameters:
startfloat | None, optional, default=None

Start time for plotting in seconds. If None, the first data point is used.

endfloat | None, optional, default=None

End time for plotting in seconds. If None, the last data point is used.

componentslist[str] | None, optional, default=None

List of components to be plotted. If None, all components are plotted.

x_axis_in_minutesbool, optional, default=True

If True, the x-axis is displayed in minutes instead of seconds.

*argsAny

Optional arguments passed to _plot_solution_1D.

**kwargsAny

Optional keyword arguments passed to _plot_solution_1D.

Returns:
tuple[plt.Figure, plt.Axes | tuple[plt.Axes]]

The Matplotlib Figure and Axes objects.

See also

_plot_solution_1D

Low-level function for 1D plotting.

slice_solution

Slice the solution for plotting.

plot_purity

Plot purity-related data.

CADETProcess.plotting

Plotting library utilities.