import matplotlib.pyplot as plt
x = [1,2,3,4,5,6,7,8,9,10,11,12]
y = [2,4,3,5,1,6,8,4,6,5,4,9]
plt.plot(x,y)
plt.show()
Python折线图
最新推荐文章于 2023-01-06 20:04:44 发布
import matplotlib.pyplot as plt
x = [1,2,3,4,5,6,7,8,9,10,11,12]
y = [2,4,3,5,1,6,8,4,6,5,4,9]
plt.plot(x,y)
plt.show()