在實驗中單次測量總是難免會產生誤差,為此我們經常測量多次,然后用測量值的平均值表示測量的量,並用誤差條來表征數據的分布,其中誤差條的高度為±標准誤差。這里即標准差。
附:excel計算均值和標准差:https://zhuanlan.zhihu.com/p/27999387
ref:
示例:https://stackoverflow.com/questions/22481854/plot-mean-and-standard-deviation/22482010
文檔:https://matplotlib.org/stable/api/_as_gen/matplotlib.axes.Axes.errorbar.html?highlight=errorbar#matplotlib.axes.Axes.errorbar
效果:

