CADETProcess.solution.SolutionParticle.plot

CADETProcess.solution.SolutionParticle.plot#

SolutionParticle.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 particle liquid phase solution 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.

layoutOptional[plotting.Layout]

Plot layout options.

y_maxOptional[float]

Maximum value of y axis. If None, value is automatically deferred from solution.

x_axis_in_minutesOptional[bool], default=True

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:
axAxes

Axes object with concentration profile.

Raises CADETProcessError

If solution is not 1D.

See also

_plot_solution_1D
slice_solution
plotlib
plot_purity