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)
相關文章
相關標籤/搜索