matplotlib画图

参考:https://mp.weixin.qq.com/s/7nyNhtfUtJGVdwNcMOVQsQ
学习总结

figure是画布
axes是坐标系(或者是区域)
axis是坐标轴

画子图:
figure=plt.figure()
axes1=figure.add_subplot(2,1,1)
axes2=figure.add_subplot(2,1,1)
axes1.plot(x,y)
axes2.plot(x,y)

©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。