Python matplotlib繪製折線圖簡單實現

單條折線圖python #coding=utf8 from matplotlib import pyplot as plt import numpy as np x = np.linspace(0, 2 * np.pi, 40) y=np.random.randint(0,50,size = 40) plt.plot(x,y) plt.show() 運行結果:dom 多條折線圖spa #codin
相關文章
相關標籤/搜索