python Matplotlib 学习笔记(1)
1.绘制简单曲线import numpy as npimport sysimport matplotlib.pyplot as pltfunc = np.poly1d(np.array([1, 2, 3, 4]).astype(float))func1 = func.deriv(m=1)x = np.linspace(-10, 10, 30)y = func(x)y1 =