marplotlib座標軸ax

常用函數 import matplotlib.pyplot as plt import numpy as np plt.gcf() #獲取當前Figure plt.gca()#獲取當前Axes # 添加子圖 fig = plt.figure() ax = fig.add_subplot(numrows, numcols, fignum) # 如 plt.subplot(221) # 第一行的左圖
相關文章
相關標籤/搜索