def METHOD_NAME(props, xSim, ySim, xSol, ySol):
    plt.scatter(xSim, ySim, s=0.1, label="Simulation", color="C0")
    plt.plot(xSol, ySol, label="Solution", color="C1")
    plt.xlabel("r")
    plt.ylabel(props["ylabel"])
    plt.draw()
    plt.title(props["title"])
    plt.legend(loc="upper right")
    plt.savefig(props["fname"], format="png")
    plt.figure().clear()