How to draw errorbars for multiple data lines in a single plot.

13 views (last 30 days)
I have three lines in plot. I need to draw error bars for all three lines.

Answers (1)

the cyclist
the cyclist on 10 Feb 2016
One way:
figure
hold on
errorbar(x1,y1,e1,'linespec1')
errorbar(x2,y2,e2,'linespec2')
errorbar(x3,y3,e3,'linespec3')

Tags

Community Treasure Hunt

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

Start Hunting!