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, layout: Layout | None = None, x_axis_in_minutes: bool = True, ax: Axes | None = None, *args: Any, **kwargs: Any) Axes[source]#
Plot bulk solution over time at given position.
- Parameters:
- zfloat
Position for plotting.
- 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.
- layoutOptional[plotting.Layout]
Plot layout options. If None, value is automatically deferred from solution.
- x_axis_in_minutesbool
If True, the x-axis will be plotted using minutes. The default is True.
- axOptional[Axes]
Axes to plot on.
- *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_solutionplot_at_positionplotlib