import numpy as np
from matplotlib import pyplot as plt
x = np.arange(1,20)
y = 2*x+5
plt.title("Matplotlib")
plt.xlabel("x line")
plt.ylabel("y line")
o标识点 g 代表颜色
对照表见
http://codingdict.com/article/8237
plt.plot(x,y,"og")
plt.show()
import numpy as np
from matplotlib import pyplot as plt
x = np.arange(1,20)
y = 2*x+5
plt.title("Matplotlib")
plt.xlabel("x line")
plt.ylabel("y line")
o标识点 g 代表颜色
对照表见
http://codingdict.com/article/8237
plt.plot(x,y,"og")
plt.show()