import numpy as npimport matplotlib.pyplot as pltx=np.linspace(0,6,100)y=np.cos(2*np.pi*x)*np.exp(-x)+0.8plt.plot(x,y,'k',color='b',linewidth=3,linestyle="--")plt.show()
本文共 229 字,大约阅读时间需要 1 分钟。
import numpy as npimport matplotlib.pyplot as pltx=np.linspace(0,6,100)y=np.cos(2*np.pi*x)*np.exp(-x)+0.8plt.plot(x,y,'k',color='b',linewidth=3,linestyle="--")plt.show()
转载于:https://www.cnblogs.com/gyy-15768200938/p/10709510.html