Filter löschen
Filter löschen

plotting error bars in both x and y data

75 Ansichten (letzte 30 Tage)
Sumera Yamin
Sumera Yamin am 10 Aug. 2020
Kommentiert: Star Strider am 11 Aug. 2020
Hi, i want to plot data set x vs y. Now i have different error values ​​in x and y. I want to plot error in both planes. The command error bar plots same error either horizontally, vertically or in both directions. But i want to plot different sets of errors in x and y. how can i do that. many thanks for your help.

Akzeptierte Antwort

Star Strider
Star Strider am 10 Aug. 2020
I am not certain what the problem is.
.
  4 Kommentare
Sumera Yamin
Sumera Yamin am 11 Aug. 2020
thankd for your comment. I noticed you took the error in y first and then the error in x. is this just to have the right direction in matlab?
Star Strider
Star Strider am 11 Aug. 2020
is this just to have the right direction in matlab?
That is how the errorbar documentation says to order them. Please read the documentation section I linked to in my original Answer.

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