1.基础知识点回顾 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',facecolor='yellowgreen',alpha=0.75)直方图. 5.设置x轴和y轴的坐标值: xlim(