matplotlib

来源:互联网 发布:玫瑰战争 知乎 书 编辑:程序博客网 时间:2024/05/18 19:36

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块

原创粉丝点击