Python:(使用matplotlib畫圖)移動座標軸的位置

如何將座標軸移動位置呢? 請看如下代碼 import matplotlib.pyplot as plt import numpy as np x = np.linspace(-3,3,50) y1 = 2 * x + 1 y2 = x**2 plt.figure(num=3,figsize=(9,6)) plt.plot(x,y2) plt.plot(x,y1,color='red',line
相關文章
相關標籤/搜索