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

3 次查看(过去 30 天)
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.

回答(2 个)

Raju
Raju 2018-1-29
编辑:Raju 2018-1-29
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 2018-2-2
Do you want the boxplot() function?

类别

Help CenterFile Exchange 中查找有关 2-D and 3-D Plots 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by