How to change the line color in Herrorbar?

2 次查看(过去 30 天)
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 个评论
Ron Nativ
Ron Nativ 2017-8-14
Ok, I have managed to do so with errorbar function -
errorbar(x,y,err,'horizontal')

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Strategy & Logic 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by