pastas.plotting.modelcompare.CompareModels.plot_response#
- pastas.plotting.modelcompare.CompareModels.plot_response(smdict: dict[int, list[str]] | None = None, axn: str = 'rf{i}', response: str = 'step') None#
plot step or block responses.
- Parameters:
smdict (dict, optional) – Dictionary with integers (index) as keys and list of stressmodel names as values that have to be in each subplot. For example, {0: [‘prec’, ‘evap’], 1: [‘rech’]} where stressmodels ‘prec’ and ‘evap’ are plotted in the first response function window and ‘rech’ in the second. By default, None, which creates a separate subplot for each stressmodel.
axn (str, optional) – name of labeled axes to plot response functions on, by default “rf{i}”. If smdict is not None, keys of that dictionary are used to fill in axes label, e.g. key 0 indicates the response functions will be plotted on axes with label ‘rf0’. Otherwise, each response function will be plotted on a separate subplot (i.e. ‘rf0’, ‘rf1’, …).
response (str, optional) – type of response to plot, either “step” or “block”, by default “step”.