首页 > 学院 > 开发设计 > 正文

matplotlibcurve.py

2019-11-14 17:25:32
字体:
来源:转载
供稿:网友
import matplotlib.pyplot as pltimport numpy as npx = np.linspace(0, 2*np.pi, 100)sinX = np.sin(x)cosX = np.cos(x)plt.plot(x, sinX)plt.plot(x, cosX)plt.show()

发表评论 共有条评论
用户名: 密码:
验证码: 匿名发表