Matplotlib之axes圖中圖

編寫代碼畫出下圖所示的函數圖:python 代碼以下:函數 import matplotlib.pyplot as plt x=[1,2,3,4,5,6,7] y=[1,3,4,2,5,8,6] plt.figure() plt.axes([0.1,0.1,0.8,0.8]) #left=0.1,bottom=0.1,width=0.8,height=0.8 plt.plot(x,y,colo
相關文章
相關標籤/搜索