pastas.plotting.modelplots.Plotting.step_response#
- pastas.plotting.modelplots.Plotting.step_response(stressmodels: list[str] | None = None, ax: pastas.typing.Axes | None = None, figsize: tuple[float, float] | None = None, legend: bool = True, **kwargs) pastas.typing.Axes#
Plot the step response for a specific stressmodels.
- Parameters:
stressmodels (list, optional) – List with the stressmodels to plot the block response for.
ax (matplotlib.axes.Axes, optional) – Axes to add the plot to.
figsize (tuple, optional) – Tuple with the height and width of the figure in inches.
legend (bool, optional) – Boolean to determine to show the legend. Default is True.
- Returns:
matplotlib axes instance.
- Return type: