python matplotlib 画图一

参考matploylib的官方文档http://matplotlib.org,进行了逐步的学习 1、单个图形的绘制 #导入画图包 import matplotlib.pyplot  as plt #savefig模块可以保存图片 from  matplotlib.pyplot import savefig plt.plot([1,2,3,4]) plt.ylabel('some numbers')
相关文章
相关标签/搜索