您的位置:首页 > 编程语言 > Python开发

python绘制误差柱状图

2017-09-17 12:38 501 查看
matplotlib.pyplot.errorbar(x,
y, yerr=None,
xerr=None,
fmt=’‘,
ecolor=None, elinewidth=None,
capsize=None,
barsabove=False, lolims=False,
uplims=False,
xlolims=False,
xuplims=False,
errorevery=1,
capthick=None,
hold=None,
data=None,
**kwargs)
Plot an errorbar graph.

Plot x versus y with error deltas in yerr and xerr. Vertical errorbars are plotted if yerr is not None. Horizontal errorbars are plotted if xerr is not None.

x, y, xerr, and yerr can all be scalars, which plots a single error bar at x, y.
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  Python errorbar