matplotlib

import matplotlib.pyplot as plt
from numpy import *
fig = plt.figure()
ax = fig.add_subplot(223)
ax.plot(x,y)
plt.show()
参数223的意思是:将画布分割成2行2列,图像画在从左到右从上到下的第3块

posted @ 2017-12-05 15:01  crr121  阅读(119)  评论(0编辑  收藏  举报