python中如何畫圖中圖

import numpy as np import matplotlib.pyplot as plt #新建figure fig = plt.figure() #定義數據 x = [1, 2, 3, 4, 5, 6, 7] y = [1, 7, 15, 24, 30, 50, 55] #新建區域ax1 #figure的百分比,從figure 10%的位置開始繪製, 寬高是figure的80% le
相關文章
相關標籤/搜索