Python學習第十二週做業——繪製函數圖像

Python能夠繪製函數圖像,但須要擴展包matplotlib支持。python 第一題dom 繪製函數圖像,添加標籤和標題函數 import numpy as np from matplotlib import pyplot as plt x = np.linspace(0,2,50) y = np.sin(x-2) * np.sin(x-2) * np.exp(-x**2) plt.figu
相關文章
相關標籤/搜索