read.cash Log in
h@hbkedge

龍家俊教你 機器學習 day14 #matplotlib.pyplot模塊 matplotlib.pytplot包含了一系列類似於matlab的畫圖函數。 import matplotlib.pyplot as plt # 圖形繪製流程: 1.創建畫布 -- plt.figure() plt.figure(figsize=(), dpi=) figsize:指定圖的長寬 dpi:圖像的清晰度 返回fig對象 2.繪製圖像 -- plt.plot(x, y) 以折線圖為例 3.顯示圖像 -- plt.show()

No comments yet

Log in to join in Reading is open to everyone. Replying needs an account.