Python:(使用matplotlib畫圖)使用bar畫柱狀圖,並標註數字

如圖所示 代碼以下 import matplotlib.pyplot as plt import numpy as np n = 12 X = np.arange(n) Y1 = (1 - X/float(n)) * np.random.uniform(0.5,1.0,n) Y2 = (1 - X/float(n)) * np.random.uniform(0.5,1.0,n) # plt.b
相關文章
相關標籤/搜索