CADETProcess.solution.SolutionIO.plot#
- SolutionIO.plot(start: float | None = None, end: float | None = None, components: list[str] | None = None, layout: Layout | None = None, y_max: float | None = None, x_axis_in_minutes: bool | None = True, ax: Axes | None = None, *args: Any, **kwargs: Any) Axes[source]#
Plot the entire time_signal for each component.
- Parameters:
- startOptional[float]
Start time for plotting in seconds. If None is provided, the first data point will be used as the start time. The default is None.
- endOptional[float]
End time for plotting in seconds. If None is provided, the last data point will be used as the end time. The default is None.
- componentsOptional[list[str]]
List of components to be plotted. If None, all components are plotted. The default is None.
- layoutOptional[plotting.Layout]
Plot layout options. The default is None.
- y_maxOptional[float]
Maximum value of the y-axis. If None, the value is automatically determined from the data. The default is None.
- x_axis_in_minutesOptional[bool], default=True
If True, the x-axis will be plotted using minutes.
- axOptional[Axes]
Axes to plot on. If None, a new figure is created.
- *argsAny
Optional arguments passed down to _plot_solution_1D.
- **kwargsAny
Optional arguments passed down to _plot_solution_1D.
- Returns:
- Axes
Axes object with concentration profile.
See also
_plot_solution_1Dslice_solutionplotlibplot_purity