watex.utils.plot_sounding#

watex.utils.plot_sounding(ves, /, style='bmh', fig_size=(10, 4), cz_plot_kws=None, marker_kws=None, savefig=None, ax=None, fig=None, **plot_kws)[source]#

Visualize the vertical electrical sounding.

Function plots the sounding curve from AB/2 sounding points.

Parameters
  • ves (array_like 1d) – The vertical electrical resistivity sounding array. If dataframe is passed,`resistivity` column must be included.

  • style (str, default='bmh') – 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.

  • ax (Matplotlib.pyplot.Axes, optional) – Axe to collect the figure.

  • fig (Matplotlib.pyplot.figure, optional) – Supply fig to save automatically the plot, otherwise, keep it to None.

  • plot_kws (dict,) – Additional keyword arguments passed to matplotlib.pyplot.plot() function

Returns

ax – Return axis

Return type

Matplotlib.pyplot.Axis

See also

watex.utils.exmath.plotOhmicArea

plot the Ohmic Area including the computed fracture zone.

Examples

>>> from watex.datasets import make_ves
>>> from watex.utils.plotutils import plot_sounding
>>> import matplotlib.pyplot as plt
>>> fig, ax = plt.subplots ( 2, 1, figsize = (10, 10))
>>> d= make_ves (samples =56, seed = 42)
>>> plot_sounding  (d.resistivity, ax =ax [0], color ='k', marker ='D', )
>>> ax[0].set_title ("VES: samples=56, seed =42")
>>> # read the frame and get the resistivity values
>>> ax[1] = plot_sounding(make_ves (order ='+', max_rho =1e4, seed =65 ,
                                    as_frame=True,iorder =5),
                          ax= ax[1], ls=':', marker ='o', color ='blue')
>>> ax[1].set_title ("VES:samples=41, order='+', iorder=5,"
                     " max_rho=10000.$\Omega.m$, seed=65")