subplot(nrows,ncols.plot_number)

subplot(nrows,ncols,plot_number)——将figure分成nrows*ncols的子图表示
nrows:子图的行数
ncols:子图的列数
plot_number:索引值,表示把图放在第plot_number个位置上

  

原文地址:https://www.cnblogs.com/qijiujiu/p/13729673.html