pastas.plotting.modelplots.Plotting.block_response#

pastas.plotting.modelplots.Plotting.block_response(stressmodels: list[str] | None = None, ax: pastas.typing.Axes | None = None, legend: bool = True, **kwargs) pastas.typing.Axes#

Plot the block 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:

matplotlib.axes.Axes