Info

Questa domanda è chiusa. Riaprila per modificarla o per rispondere.

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

1 visualizzazione (ultimi 30 giorni)
how do you change the colour of the error bars after finishing plotting (using the plot tool/dock figure tool)?

Risposte (1)

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

Questa domanda è chiusa.

Community Treasure Hunt

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

Start Hunting!

Translated by