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',      
相关文章
相关标签/搜索