Matplotlib中子图的创建与绘画

一、空子图的创建 # 空子图的创建 import matplotlib.pyplot as plt # 绘制画板 fig = plt.figure() # 前两个参数代表横着有三个,竖着有两个图,第三个参数是指是第几个图。 ax1 = fig.add_subplot(3,2,1) ax2 = fig.add_subplot(3,2,2) ax2 = fig.add_subplot(3,2,6) p
相关文章
相关标签/搜索