第一个代码测试

import matplotlib.plot as plt
import numpy as np

x = np.linspace(0, 2*np.pi, 100)
y = np.sin(x)+np.cos(x)
plt.plot(x, y, 'g-.')
plt.show()

  

posted on 2020-02-26 12:58  six-six-six  阅读(120)  评论(0)    收藏  举报

导航