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
相關文章
相關標籤/搜索