def _plot(self, title=None, reciprocal=None, limits=None, dtype='<STR_LIT>'):
if limits is None:<EOL><INDENT>limits = {}<EOL><DEDENT>fig, axes = plt.subplots(<EOL><NUM_LIT:2>, <NUM_LIT:2>, figsize=(<NUM_LIT:10> / <NUM_LIT>, <NUM_LIT:6> / <NUM_LIT>), sharex=True<EOL>)<EOL>if title is not None:<EOL><INDENT>fig.suptitle(title)<EOL><DEDENT>if limits is None:<EOL><INDENT>limits = {}<EOL><DEDENT>ax = axes[<NUM_LIT:0>, <NUM_LIT:0>]<EOL>ax.semilogx(<EOL>self.frequencies, self.rmag, '<STR_LIT>', color='<STR_LIT:k>',<EOL>label='<STR_LIT>',<EOL>)<EOL>ax.set_ylim(<EOL>limits.get('<STR_LIT>', None),<EOL>limits.get('<STR_LIT>', None)<EOL>)<EOL>ax = axes[<NUM_LIT:0>, <NUM_LIT:1>]<EOL>ax.semilogx(self.frequencies, -self.rpha, '<STR_LIT>', color='<STR_LIT:k>')<EOL>ymin = limits.get('<STR_LIT>', None)<EOL>if ymin is not None:<EOL><INDENT>ymin *= -<NUM_LIT:1><EOL><DEDENT>ymax = limits.get('<STR_LIT>', None)<EOL>if ymax is not None:<EOL><INDENT>ymax *= -<NUM_LIT:1><EOL><DEDENT>ax.set_ylim(<EOL>ymin,<EOL>ymax,<EOL>)<EOL>ax = axes[<NUM_LIT:1>, <NUM_LIT:0>]<EOL>ax.loglog(self.frequencies, self.cre, '<STR_LIT>', color='<STR_LIT:k>')<EOL>ax.set_ylim(<EOL>limits.get('<STR_LIT>', None),<EOL>limits.get('<STR_LIT>', None)<EOL>)<EOL>ax = axes[<NUM_LIT:1>, <NUM_LIT:1>]<EOL>ax.loglog(self.frequencies, self.cim, '<STR_LIT>', color='<STR_LIT:k>')<EOL>ax.set_ylim(<EOL>limits.get('<STR_LIT>', None),<EOL>limits.get('<STR_LIT>', None)<EOL>)<EOL>self._add_labels(axes, dtype)<EOL>for ax in axes.flatten()[<NUM_LIT:0>:<NUM_LIT:2>]:<EOL><INDENT>ax.xaxis.set_major_locator(mpl.ticker.LogLocator(numticks=<NUM_LIT:5>))<EOL>ax.yaxis.set_major_locator(mpl.ticker.MaxNLocator(<NUM_LIT:5>))<EOL><DEDENT>for ax in axes.flatten()[<NUM_LIT:2>:]:<EOL><INDENT>ax.xaxis.set_major_locator(mpl.ticker.LogLocator(numticks=<NUM_LIT:5>))<EOL>ax.yaxis.set_major_locator(mpl.ticker.LogLocator(numticks=<NUM_LIT:5>))<EOL><DEDENT>fig.tight_layout()<EOL>if reciprocal is not None:<EOL><INDENT>axes[<NUM_LIT:0>, <NUM_LIT:0>].semilogx(<EOL>reciprocal.frequencies,<EOL>reciprocal.rmag,<EOL>'<STR_LIT>',<EOL>color='<STR_LIT:k>',<EOL>linestyle='<STR_LIT>',<EOL>label='<STR_LIT>',<EOL>)<EOL>axes[<NUM_LIT:0>, <NUM_LIT:1>].semilogx(<EOL>reciprocal.frequencies,<EOL>-reciprocal.rpha,<EOL>'<STR_LIT>',<EOL>color='<STR_LIT:k>',<EOL>linestyle='<STR_LIT>',<EOL>)<EOL>axes[<NUM_LIT:1>, <NUM_LIT:0>].loglog(<EOL>reciprocal.frequencies,<EOL>reciprocal.cre,<EOL>'<STR_LIT>',<EOL>color='<STR_LIT:k>',<EOL>linestyle='<STR_LIT>',<EOL>)<EOL>axes[<NUM_LIT:1>, <NUM_LIT:1>].loglog(<EOL>reciprocal.frequencies,<EOL>reciprocal.cim,<EOL>'<STR_LIT>',<EOL>color='<STR_LIT:k>',<EOL>linestyle='<STR_LIT>',<EOL>)<EOL>fig.subplots_adjust(<EOL>bottom=<NUM_LIT>,<EOL>)<EOL>axes[<NUM_LIT:0>, <NUM_LIT:0>].legend(<EOL>loc="<STR_LIT>",<EOL>ncol=<NUM_LIT:4>,<EOL>bbox_to_anchor=(<NUM_LIT:0>, <NUM_LIT:0>, <NUM_LIT:1>, <NUM_LIT:1>),<EOL>bbox_transform=fig.transFigure,<EOL>fontsize=<NUM_LIT>,<EOL>)<EOL><DEDENT>return fig, axes<EOL>
Standard plot of spectrum

        Parameters
        ----------
        title: string|None, optional
            Title of plot
        reciprocal: sip_response object|None, optional
            If provided, plot this spectrum with another color
        limits: dict|None, optional
            used to set ylimits of the plots. Possible entries: rmag_min,
            rmag_max, rpha_min, rpha_max, cre_min, cre_max, cim_min, cim_max
        dtype: string, optional
            Possible values: [rho|R]. Determines the label types. 'rho':
                resistivity/conductivity, 'R': resistance/conductance

        Returns
        -------
        fig: figure object
            the generated matplotlib figure
        axes: list
            matplotlib axes objects