Error bars in a different scale

2 Ansichten (letzte 30 Tage)
Auryn_
Auryn_ am 8 Feb. 2017
Bearbeitet: Auryn_ am 30 Mai 2018
Hi,
I would like to add an additional scale for my errorbars, as their value is much smaller than my values in the y-axis. As well, is it possible to add a legend only for the errorbars? Thank you very much in advance.

Akzeptierte Antwort

Jan
Jan am 8 Feb. 2017
It will look rather confusing if the scale of the error bars differ from the values. But you can simply multiply the values of the errors by a factor.
Do you mean:
e = errorbar(x,y,err)
legend(e, 'Error bar')
?
  1 Kommentar
Auryn_
Auryn_ am 8 Feb. 2017
Bearbeitet: Auryn_ am 30 Mai 2018
Thank you! It works now.

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Errorbars finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by