watex.utils.plotutils.plot_profiling#
- watex.utils.plotutils.plot_profiling(erp, cz=None, *, style='classic', fig_size=(10, 4), cz_plot_kws=None, marker_kws=None, savefig=None, **plot_kws)[source]#
Visualizes the resistivity profiling of ERP data.
Function can overlain the selected conductive zone to the ERP if cz is given.
- Parameters:
erp (array_like 1d) – The electrical resistivity profiling array.
cz (array_like, optional,) – The selected conductive zone. If
None, cz should not be plotted.style (str, default='classic') – Matplotlib plottings style.
fig_size (tuple, default= (10, 4)) – Matplotlib figure size.
marker_kws (dict, default = {'marker':'o', 'c':'#9EB3DD' }) – The dictionnary to customize marker in the plot
cz_plot_kws (dict, default = {'ls':'-','c':'#0A4CEE', 'lw'L2 }) – The dictionnary to customize the conductize zone in the plot.
savefig (str, optional) – Save figure name. The default resolution dot-per-inch is
300.plot_kws (dict,) – Additional keyword arguments passed to
matplotlib.pyplot.plot()function
- Returns:
ax – Return axis
- Return type:
Matplotlib.pyplot.Axis
Examples
>>> from watex.datasets import make_erp >>> from watex.utils import defineConductiveZone >>> from watex.utils.plotutils import plot_profiling >>> d= make_erp (n_stations =56, seed = 42) >>> plot_profiling (d.resistivity)