matplotlib subplot 子图

总括 MATLAB和pyplot有当前的图形(figure)和当前的轴(axes)的概念,全部的做图命令都是对当前的对象做用。能够经过gca()得到当前的axes(轴),经过gcf()得到当前的图形(figure)python import numpy as np import matplotlib.pyplot as plt def f(t): return np.exp(-t) * np.co
相关文章
相关标签/搜索