python-matplotlib繪製各種子圖

1.plot(x, y, marker='D')表示繪製折線圖,marker設置樣式菱形。     2.scatter(x, y,  marker='s', color='r' )繪製散點圖,紅色正方形。     3.bar(x, y, 0.5, color='c')繪製柱狀圖,間距爲0.5,原色。     4.hist(data,40,normed=1,histtype='bar',      
相關文章
相關標籤/搜索