matplotlib學習之圖例,標註,透明度

legend 標註 定義的圖像python import matplotlib as plt import numpy as np x = np.linspace(-3, 3, 50) y1 = 2*x + 1 y2 = x**2 plt.figure() # set x limits plt.xlim((-1, 2)) plt.ylim((-2, 3)) # set ne
相關文章
相關標籤/搜索