Effacer les filtres
Effacer les filtres

Info

Cette question est clôturée. Rouvrir pour modifier ou répondre.

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

1 vue (au cours des 30 derniers jours)
CLARK KENDRICK GO
CLARK KENDRICK GO le 11 Mar 2019
Clôturé : MATLAB Answer Bot le 20 Août 2021
how do you change the colour of the error bars after finishing plotting (using the plot tool/dock figure tool)?

Réponses (1)

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

Cette question est clôturée.

Community Treasure Hunt

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

Start Hunting!

Translated by