How do I plot error in x values and error in y values together in matlab?

3 views (last 30 days)
I have x values with x-errors(sqrt(x)) and corresponding y values with y-errors (sqrt(y)). How do I plot this with errors in both axes.

Answers (2)

Raju
Raju on 29 Jan 2018
Edited: Raju on 29 Jan 2018
Those syntax plot by considering one value of err. I want to plot different axes errors (error in x axis and error in y axis. If I plot with
errorbar(x,xerror,'s',y,yerror,'o') or errorbar(x,xerror,y,yerror,'o') or errorbar(x,y,xerror,yerror,'o') where xerror=sqrt(x) and yerror=sqrt(y)
nothing works at all.

Image Analyst
Image Analyst on 2 Feb 2018
Do you want the boxplot() function?

Categories

Find more on 2-D and 3-D Plots in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!