Python:matplotlib 多个子图
import matplotlib.pyplot as pltfig = plt.figure()ax1 = fig.add_subplot(321)ax2 = fig.add_subplot(322)ax3 = fig.add_subplot(323)ax4 = fig.add_subplot(324)ax5 = fig.add_subplot(325)ax6 = fig.add_subplot(326)plt.grid(True)plt.show()