Python——matplotlib的练习

最简单的示例 import matplotlib.pyplot as pltimport matplotlib.pyplot as plt #to draw the sin() curve import numpy as np x=np.linspace(-np.pi, np.pi, 200) C,S=np.cos(x), np.sin(x) plt.plot(x,C) plt.plot(x,S)
相关文章
相关标签/搜索