Borrar filtros
Borrar filtros

How to change the line color in Herrorbar?

2 visualizaciones (últimos 30 días)
Ron Nativ
Ron Nativ el 14 de Ag. de 2017
Comentada: Ron Nativ el 14 de Ag. de 2017
Hi, I'm trying to change the line color on the horizontal error bar, using the function 'Herrorbar'.
my code line is - herrorbar(x,y,err,'.'), where I want to specifiy an RGB color - [0.5 0.5 0.5], but I couldn't find a way to do so without specifying a specific color (such as '.r', '.k', etc...).
Any suggestions?
Thanks, Ron
  1 comentario
Ron Nativ
Ron Nativ el 14 de Ag. de 2017
Ok, I have managed to do so with errorbar function -
errorbar(x,y,err,'horizontal')

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre Strategy & Logic en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by