Remove error bar ends for R2014b?

5 ビュー (過去 30 日間)
Henrik
Henrik 2015 年 2 月 20 日
コメント済み: Gabriel Piedrafita 2017 年 10 月 4 日
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
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)

サインインしてコメントする。

採用された回答

Chad Greene
Chad Greene 2015 年 4 月 11 日
This errbar function works in pre- and post-2014b.
  1 件のコメント
David
David 2015 年 6 月 5 日
Chad, this is awesome, I'm now a grateful errbar user.

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeErrorbars についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by