Matplotlib中子圖的建立與繪畫

1、空子圖的建立 # 空子圖的建立 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
相關文章
相關標籤/搜索