def METHOD_NAME(
    orientation, component, view, normal, sigsl, freqsl, absloc, coordloc, mode
):
    x = np.linspace(-50.0, 50.0, 100)
    y = np.arange(-50.0, 50.0, 100)
    srcLoc = np.r_[0.0, 0.0, 0.0]  # source location
    # sig, f = (
    #     10.0 ** sigsl,
    #     np.r_[10.0 ** freqsl],
    # )  # conductivity (S/m), frequency (Hz)
    if normal.upper() == "Z":
        obsLoc = np.c_[absloc, coordloc, np.r_[0.0]]
        self.dataview.set_xyz(
            x, y, np.r_[0.0], normal=normal
        )  # set plane and locations ...
    elif normal.upper() == "Y":
        obsLoc = np.c_[absloc, np.r_[0.0], coordloc]
        self.dataview.set_xyz(
            x, np.r_[0.0], y, normal=normal
        )  # set plane and locations ...
    elif normal.upper() == "X":
        obsLoc = np.c_[np.r_[0.0], absloc, coordloc]
        self.dataview.set_xyz(
            np.r_[0.0], x, y, normal=normal
        )  # set plane and locations ...
    self.dataview.eval_loc(
        srcLoc,
        obsLoc,
        sigvec,
        fvec,
        orientation,
        normal,
        EM.analytics.E_from_ElectricDipoleWholeSpace,
    )  # evaluate
    plt.figure(figsize=(6.5 * 3, 5))
    ax0 = plt.subplot(121)
    ax2 = plt.subplot(122)
    ax1 = ax0.twinx()
    ax3 = ax2.twinx()
    if mode == "RI":
        ax0 = self.dataview.plot1D_FD(
            component="real",
            view=view,
            abscisse="Conductivity",
            slic=freqsl,
            logamp=True,
            ax=ax0,
            color="blue",
        )
        ax1 = self.dataview.plot1D_FD(
            component="imag",
            view=view,
            abscisse="Conductivity",
            slic=freqsl,
            logamp=True,
            ax=ax1,
            legend=False,
            color="red",
        )
        ax2 = self.dataview.plot1D_FD(
            component="real",
            view=view,
            abscisse="Frequency",
            slic=sigsl,
            logamp=True,
            ax=ax2,
            color="blue",
        )
        ax3 = self.dataview.plot1D_FD(
            component="imag",
            view=view,
            abscisse="Frequency",
            slic=sigsl,
            logamp=True,
            ax=ax3,
            legend=False,
            color="red",
        )
    elif mode == "AP":
        ax0 = self.dataview.plot1D_FD(
            component="Amplitude",
            view=view,
            abscisse="Conductivity",
            slic=freqsl,
            logamp=True,
            ax=ax0,
            color="blue",
        )
        ax1 = self.dataview.plot1D_FD(
            component="Phase",
            view=view,
            abscisse="Conductivity",
            slic=freqsl,
            logamp=True,
            ax=ax1,
            legend=False,
            color="red",
        )
        ax2 = self.dataview.plot1D_FD(
            component="Amplitude",
            view=view,
            abscisse="Frequency",
            slic=sigsl,
            logamp=True,
            ax=ax3,
            color="blue",
        )
        ax3 = self.dataview.plot1D_FD(
            component="Phase",
            view=view,
            abscisse="Frequency",
            slic=sigsl,
            logamp=True,
            ax=ax3,
            legend=False,
            color="red",
        )
    elif mode == "Phasor":
        ax0 = self.dataview.plot1D_FD(
            component="PHASOR",
            view=view,
            abscisse="Conductivity",
            slic=freqsl,
            logamp=True,
            ax=ax0,
            color="black",
        )
        ax2 = self.dataview.plot1D_FD(
            component="PHASOR",
            view=view,
            abscisse="Frequency",
            slic=sigsl,
            logamp=True,
            ax=ax2,
            color="black",
        )
    plt.tight_layout()