Remove error bar ends for R2014b?

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 comentario

Gabriel Piedrafita
Gabriel Piedrafita el 4 de Oct. de 2017
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)

Iniciar sesión para comentar.

 Respuesta aceptada

Chad Greene
Chad Greene el 11 de Abr. de 2015

0 votos

This errbar function works in pre- and post-2014b.

1 comentario

David
David el 5 de Jun. de 2015
Chad, this is awesome, I'm now a grateful errbar user.

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Preguntada:

el 20 de Feb. de 2015

Comentada:

el 4 de Oct. de 2017

Community Treasure Hunt

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

Start Hunting!

Translated by