第十二週作業——Matplotlib

1用圖表畫一個函數 import numpy as np import matplotlib.pyplot as plt import math from pylab import * x = np.arange(0,2, 0.02) y = np.sin(x)*np.sin(x)*(x-2)*exp(-x*x) #函數 plt.figure(1) plt.subplot(211) plt.ann
相關文章
相關標籤/搜索