CADETProcess.solution.SolutionSolid.plot#
- SolutionSolid.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 particle solid phase solution 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.
- Raises:
- CADETProcessError
If solution is not 1D.
See also
_plot_solution_1DLow-level function for 1D plotting.
slice_solutionSlice the solution for plotting.
CADETProcess.plottingPlotting library utilities.