Info

This question is closed. Reopen it to edit or answer.

how do you change the colour of the error bars using the dock figure tool?

1 view (last 30 days)
how do you change the colour of the error bars after finishing plotting (using the plot tool/dock figure tool)?

Answers (1)

KSSV
KSSV on 11 Mar 2019
x = 1:10:100;
y = [20 30 45 40 60 65 80 75 95 90];
err = 8*ones(size(y));
errorbar(x,y,err,'r')
YOu can specify color in the errobar..read about it.
  2 Comments
CLARK KENDRICK GO
CLARK KENDRICK GO on 11 Mar 2019
Thanks for your reply. However, I already finished plotting and I do not want to plot again. I want to change the colour after the fact, in the figure dock tool which you can find in the toolbar of the figure.
KSSV
KSSV on 11 Mar 2019
Click on the edit (arrow) ..right clock on the curve you want to change color...select the color you want.

This question is closed.

Community Treasure Hunt

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

Start Hunting!