How to change the line color in Herrorbar?

조회 수: 4 (최근 30일)
Ron Nativ
Ron Nativ 2017년 8월 14일
댓글: Ron Nativ 2017년 8월 14일
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에서 Errorbars에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by