matplotlib 绘制正玄余玄曲线

import matplotlib.pyplot as plt
import numpy as np

x = np.linspace(0,10,100)
sin_y = np.sin(x)
plt.plot(x,sin_y)

cos_y = np.cos(x)
plt.plot(x,cos_y)

plt.show()

 

posted @ 2020-09-08 14:49  在学同学  阅读(152)  评论(0编辑  收藏  举报