CADETProcess.solution.SolutionBulk.plot_at_position#
- SolutionBulk.plot_at_position(z: float, 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 bulk solution over space at given time.
- Parameters:
- zfloat
Position for plotting.
- 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 will be plotted using minutes.
- *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_plot_2Dslice_solutionCADETProcess.plotting