python中利用matplotlib画图

介绍三种比较简单的方法python 基于matplotlib的画图方式 plt.plot(),经常使用款 plt.hist(), 画直方图 plt.pie(),画饼状图 plt.figure() 基于pandas的画图 s.plot() s是pandas的Series对象 df.plot() df是pandas的DataFrame对象 1.1. plt.plot()#绘制y关于x的变化关系. x,
相关文章
相关标签/搜索