Numerical Methods, Python, Programming, Math, Engineering.
linestyle=":") ax.plot(problem_1.x, problem_1.y[0], color="indigo", marker=".", label="OC", linestyle=" ") ax.plot(res_scipy1.x, res_scipy1.y[0], color="green", alpha=0.5, linestyle=":", label="scipy") ax.set_ylabel("y") ax.set_xlabel("x") ax.legend() fig.tight_layout() plt.show() E o resultado é o