Given the following example code:
x = 0:pi/10:pi;
y = sin(x);
e = std(y)*ones(size(x));
figure
errorbar(x,y,e)
How are you able to color the line different compared to the horizontal lines?
I tried
errorbar(x,y,e,'--mo')
But this changes all of them together...