matplotlib基礎用法

import matplotlib.pyplot as plt import numpy as np x = np.linspace(-1,1,100) y = 2*x + 1 plt.plot(x,y) plt.show() matplotlib figure的用法 x = np.linspace(-1,1,100) y1 = 2*x + 1 y2 = x**2 plt.figure() pl
相關文章
相關標籤/搜索