参考: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)
参考: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)