Plotting#
- class Plotting(ml)[source]#
Class that contains all plotting methods for Pastas models.
Pastas models come with a number of predefined plotting methods to quickly visualize a Model. All of these methods are contained in the plot attribute of a model. For example, if we stored a
pastas.model.Model
instance in the variable ml, the plot methods are available as follows:>>> ml.plots.results()
- Parameters
ml (Model) –
Methods#
Plot the block response for a specific stressmodels. |
|
Plot the contribution of a stressmodel and optionally the stress and the response. |
|
Plot the cumulative frequency for the observations and simulation. |
|
Plot the decomposition of a time-series in the different stresses. |
|
Plot a window that helps in diagnosing basic model assumptions. |
|
Method to plot all the time series going into a Pastas Model. :param tmin: :type tmin: str or pd.Timestamp :param tmax: :type tmax: str or pd.Timestamp :param bins: Number of bins in the histogram, by default None which uses Sturge's Rule to determine the number bins :type bins: Optional[int], optional :param split: Split the stresses in multiple stresses when possible. :type split: bool, optional. |
|
Make a plot of the observed and simulated series. |
|
Plot different results in one window to get a quick overview. |
|
Method to plot all the time series going into a Pastas Model. |
|
Create a results plot, similar to ml.plots.results(), in which the individual contributions of stresses (in stressmodels with multiple stresses) are stacked. |
|
Plot the step response for a specific stressmodels. |
|
This method creates a graph with all the stresses used in the model. |
|
Create a plot with the results and diagnostics plot. |
|
Create a PDF file (A4) with the results and diagnostics plot. |