摘要: x=np.arange(1,13,1) y=np.array([17, 19, 21, 28, 33, 38, 37, 37, 31, 23, 19, 18 ]) plt.plot(x,y) plt.show() 可以看出温度是以周期为12的正弦函数 #构建函数y=a*sin(x*pi/6+b)+c 阅读全文
posted @ 2020-07-02 12:12 从前有座山,山上 阅读(2034) 评论(0) 推荐(0) 编辑