def METHOD_NAME(epsr, h, xc, r, imgcmp):
    # imgcmp = Image.open(dataImage)
    imgcmp = imgcmp.resize((600, 800))
    plt.figure(figsize=(9, 11))
    plt.imshow(imgcmp, extent=[0, 400, 250, 0])
    x = np.arange(41) * 1.0
    xconvert = x * 10.0
    v = 1.0 / np.sqrt(mu_0 * epsilon_0 * epsr)
    nano = 1e9
    time = (np.sqrt(((x - xc) ** 2 + 4 * h ** 2)) - r) / v
    plt.plot(xconvert, time * nano, "r--", lw=2)
    plt.xticks(np.arange(11) * 40, np.arange(11) * 4.0)
    plt.xlim(0.0, 400)
    plt.ylim(240.0, 0.0)
    plt.ylabel("Time (ns)")
    plt.xlabel("Survey line location (m)")
    plt.show()