Error bars drawn asymmetrically in errorbar()
Show older comments
Hello,
I am using the errorbar() function, and for some reason, the error bars are being drawn asymmetrically around the data points. In other words, the data point is not at the centre of the error bar. Can someone please explain why? Am I missing something?
The basic code:
x = w.^2 .* t ; y = lambdaFinal; yerr = deltaLambda;
errorbar(x, y, yerr, 'o', 'MarkerEdgeColor','red','MarkerFaceColor','red')
I have highlighted some of the egregious examples in the attached picture.
1 Comment
madhan ravi
on 8 Jul 2020
Mind sharing the data?
Accepted Answer
More Answers (0)
Categories
Find more on Errorbars 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!