parameters: (self, ax=None, ploterror=False, corrramp=False, **kwargs)
return_statement: return ax
docstring: Plot all apparent resistivity curves into one window.
docstring_summary: Plot all apparent resistivity curves into one window.
docstring_tokens: Plot all apparent resistivity curves into one window .
function: def plotRhoa(self, ax=None, ploterror=False, corrramp=False, **kwargs):
          """Plot all apparent resistivity curves into one window."""
          if ax is None:
              fig, ax = plt.subplots()
  
          kwargs.setdefault('marker', '.')
          plotLegend = kwargs.pop('legend', True)
          for i, data in enumerate(self.DATA):
              rhoa, t, err = get_rhoa(data, corrramp=corrramp)
              err[err > .99] = .99
              col = 'C'+str(i % 10)
              ax.loglog(rhoa, t, label=getname(data),  # color=col,
                        color=col, **kwargs)
              if ploterror:
                  ax.errorbar(rhoa, t, xerr=rhoa * err, color=col)
  
          ax.set_ylabel('t [s]')
          ax.set_xlabel(r'$\rho_a$ [$\Omega$m]')
          if plotLegend:
              ax.legend(loc='best')
          ax.grid(True)
          ax.set_ylim(ax.get_ylim()[::-1])
          return ax
function_tokens: def plotRhoa ( self , ax = None , ploterror = False , corrramp = False , * * kwargs ) : if ax is None : fig , ax = plt . subplots ( ) kwargs . setdefault ( 'marker' , '.' ) plotLegend = kwargs . pop ( 'legend' , True ) for i , data in enumerate ( self . DATA ) : rhoa , t , err = get_rhoa ( data , corrramp = corrramp ) err [ err > .99 ] = .99 col = 'C' + str ( i % 10 ) ax . loglog ( rhoa , t , label = getname ( data ) , # color=col, color = col , * * kwargs ) if ploterror : ax . errorbar ( rhoa , t , xerr = rhoa * err , color = col ) ax . set_ylabel ( 't [s]' ) ax . set_xlabel ( r'$\rho_a$ [$\Omega$m]' ) if plotLegend : ax . legend ( loc = 'best' ) ax . grid ( True ) ax . set_ylim ( ax . get_ylim ( ) [ : : - 1 ] ) return ax