import matplotlib.pyplot as plt
from numpy import *
x = array([0, 0, 1, 1, 2, 4, 2, 1, 2, 0]).reshape(-1, 1)
y = array([1, 1, 1, 2, 2, 2, 2, 3, 2, 0]).reshape(-1, 1)
plt.plot(x)
plt.plot(y)
plt.show()
Python:画图
最新推荐文章于 2022-09-23 16:02:46 发布