Remove error bar ends for R2014b?
6 次查看(过去 30 天)
显示 更早的评论
Hi all
Is there any way to remove the error bar ends in matlab R2014b?
I used a function called removeErrorBarEnds for this, but cannot find a version that works in R2014b.
Thanks in advance.
Henrik
1 个评论
Gabriel Piedrafita
2017-10-4
At least in the latest versions of MATLAB, one can use the in-built function 'errorbar' and remove the bar ends by tuning the error bar cap size to 0.
y = rand(1,10); err = y.*0.1; errorbar(y,err,'CapSize',0)
采纳的回答
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Errorbars 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!