SimPEG.utils.GaussianMixtureWithPrior.plot_pdf#
- GaussianMixtureWithPrior.plot_pdf(ax=None, flag2d=False, x_component=None, y_component=None, padding=0.2, plotting_precision=100, plot_membership=False, contour_opts=None, level_opts=None)[source]#
- Utils to plot the marginal PDFs of a GMM, either in 1D or 2D (1 or 2 physical properties at the time). - Parameters:
- axmatplotlib.Axes,optional
- Matplotliv axes object. Need to be a 3-array if flag2d is True 
- flag2dbool, default: False
- Flag to either plot a 1D or 2D probability distributions 
- x_componentint,optional
- Physical property to plot on the X-axis, as ordered in the GMM. 
- y_componentint,optional
- Physical property to plot on the Y-axis, as ordered in the GMM 
- paddingfloat, default: 0.2
- How much relative padding around the petrophysical means for the 1D and 2D plots 
- plotting_precisionint, default: 100
- Number of divisions for the 1D and 2D plots 
- plot_membershipbool, default: False
- Plot the membership rather than the probability 
- contour_optsdict
- Modify the plotting options of the contour plot (in 1D and 2D) 
- level_optsdict
- Modify the plotting options of the level plot (in 1D and 2D) 
 
- ax
- Returns:
- matplotlib.Axes
- Axes including the plot