简易网格子图
import matplotlib.pyplot as plt
from numpy import
fig = plt.figure()
ax = fig.add_subplot(3,4,9)
ax.plot(x,y)
plt.show()
参数349的意思是:将画布分割成3行4列,图像画在从左到右从上到下的第9块,如下图
简易网格子图
import matplotlib.pyplot as plt
from numpy import
fig = plt.figure()
ax = fig.add_subplot(3,4,9)
ax.plot(x,y)
plt.show()
参数349的意思是:将画布分割成3行4列,图像画在从左到右从上到下的第9块,如下图