pastas.plotting.modelplots.Plotting.cum_frequency#
- pastas.plotting.modelplots.Plotting.cum_frequency(tmin: pandas.Timestamp | str | None = None, tmax: pandas.Timestamp | str | None = None, ax: pastas.typing.Axes | None = None, figsize: tuple = (5, 2), **kwargs) pastas.typing.Axes#
Plot the cumulative frequency for the observations and simulation.
- Parameters:
tmin (pandas.Timestamp or str, optional) – A string or pandas.Timestamp with the start date for the period (E.g. ‘1980-01-01 00:00:00’). Strings are converted to pandas.Timestamp internally.
tmax (pandas.Timestamp or str, optional) – A string or pandas.Timestamp with the end date for the period (E.g. ‘2020-01-01 00:00:00’). Strings are converted to pandas.Timestamp internally.
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.
**kwargs – Passed on to plot_cum_frequency.
- Returns:
ax
- Return type:
See also
ps.stats.plot_cum_frequency