import matplotlib.pyplot as plt? 導(dǎo)入包
plt.xcale("log")? 橫軸對(duì)數(shù)化
plt.scatter(x,y) 輸出散點(diǎn)圖
plt.show() 輸出圖像
plt.hist() 輸出直方圖
plt.hist(data,bins= ) 數(shù)據(jù)分成x塊
plt.grid(True),網(wǎng)格線
import matplotlib.pyplot as plt? 導(dǎo)入包
plt.xcale("log")? 橫軸對(duì)數(shù)化
plt.scatter(x,y) 輸出散點(diǎn)圖
plt.show() 輸出圖像
plt.hist() 輸出直方圖
plt.hist(data,bins= ) 數(shù)據(jù)分成x塊
plt.grid(True),網(wǎng)格線