plotting error bars in both x and y data

92 views (last 30 days)
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.

Accepted Answer

Star Strider
Star Strider on 10 Aug 2020
I am not certain what the problem is.
.
  4 Comments
Sumera Yamin
Sumera Yamin on 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 on 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.

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!