Info

此问题已关闭。 请重新打开它进行编辑或回答。

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

1 次查看(过去 30 天)
how do you change the colour of the error bars after finishing plotting (using the plot tool/dock figure tool)?

回答(1 个)

KSSV
KSSV 2019-3-11
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 个评论
CLARK KENDRICK GO
CLARK KENDRICK GO 2019-3-11
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 2019-3-11
Click on the edit (arrow) ..right clock on the curve you want to change color...select the color you want.

此问题已关闭。

Community Treasure Hunt

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

Start Hunting!

Translated by