0
產生我生成使用matplotlib關於從matplotlib
import numpy as np
import pylab as P
mu, sigma = 200, 25
x = mu + sigma*P.randn(10000)
P.figure()
bins = 10
n, bins, patches = P.hist(x, bins, normed=1, histtype='bar', rwidth=0.8)
P.show()
我想使畫面更小的直方圖圖像的大小,我怎麼能做到這一點?
感謝您的幫助