l2,=plt.plot(x,y2,color='red',linewidth=1.0,linestyle='--',label='square line'). plt.legend(). 不帶參數調用legend 會自動獲取圖例句柄及相關 ...
確定! 回上一頁