matplotlib库笔记1

1、matplotlib.pyplot中add_subplot方法 import matplotlib.pyplot as plt from numpy import * fig = plt.figure() ax = fig.add_subplot(349) ax.plot(x,y) plt.show() 参数349的意思是:将画布分割成3行4列,图像画在从左到右从上到下的第9块,如下图: 那第
相关文章
相关标签/搜索