<reponame>koya0122/matplotlibrc<filename>test_plot.py
from matplotlib import pyplot as plt
import numpy as np

x = np.linspace(0.0, 10.0, 10)

plt.plot(x, x, label="Eq.(1): $y=x$")
plt.plot(x, x**2, label="Eq.(2): $y=x^2$")
plt.plot(x, x**3, label="Eq.(3): $y=x^3$")

plt.legend()
plt.xlabel("$x$")
plt.ylabel("$y$")
plt.title("Example")

plt.savefig("example.png")
# plt.show()
