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
相关文章
相关标签/搜索