environmentaltools.graphics.plot_copula
- environmentaltools.graphics.plot_copula(copula, ax=None, labels=[], file_name: str = None, log: bool = False)[source]
Plot copula function with contours and parameters.
Generates a 2D visualization of the copula probability density function with contour lines and displays copula parameters.
- Parameters:
copula – Copula object with CDF and parameter methods.
ax (matplotlib.axes.Axes, optional) – Axis to plot on. Creates new figure if None. Defaults to None.
labels (list) – List of two strings for x and y axis labels. Defaults to [].
file_name (str, optional) – Path to save the plot. If None, displays interactively. Defaults to None.
log (bool) – If True, uses logarithmic scale for color mapping. Defaults to False.
- Returns:
Displays or saves the plot.
- Return type:
None