python用matplotlib畫折線圖

折線圖: import matplotlib.pyplot as plt y1=[10,13,5,40,30,60,70,12,55,25] x1=range(0,10) x2=range(0,10) y2=[5,8,0,30,20,40,50,10,40,15] plt.plot(x1,y1,label='Frist line',linewidth=3,color='r',marker='o',
相關文章
相關標籤/搜索