0
我想繪製的酒吧,與累積的數據柱狀圖中累積的數據
rects1 = ax.bar(0.02+ind,a, width2,color='k')
rects1a = ax.bar(0.02+ind, a2, width2, color='r',bottom=a)
rects1b = ax.bar(0.02+ind, a3, width2, color='b',bottom=a2)
rects1c = ax.bar(0.02+ind, a4, width2, color='g',bottom=a3)
rects1d= ...
a
,a2
,a3
等都是例如10%,25%
我想有值a4
, a3
以上,a2
以上 最後,我得到100%
我需要改變什麼?
謝謝!
對不起,我想添加爲一個評論,但我沒有足夠的聲譽... – Simon