- 积分
- 6156
- 贡献
-
- 精华
- 在线时间
- 小时
- 注册时间
- 2017-9-11
- 最后登录
- 1970-1-1
|
登录后查看更多精彩内容~
您需要 登录 才可以下载或查看,没有帐号?立即注册
x
本帖最后由 小莹子 于 2018-7-26 19:36 编辑
现在有数据的平均值、最小值、最大值,其中将平均值做成柱状图,最大最小值则做成类似误差棒的感觉。
1.origin
2.matlab
%x, y 是你的数据,其中Y应该是个矩阵,每一列为一个数据点的原始数据。
ym = mean(y); % average value
L = ym-min(y); % lower bond of the error bar
U = max(y)-U; % upper bond of the error bar
errorbar(x,y,L,U)
http://muchong.com/html/201303/5693188_2.html
|
|