MATLAB: How to plot 2 graphs with errorbar each one

errorbar

Dear community
I'm plotting 2 graphs and I want to put errorbar in each plot.
How can I do that?
Thanks!

Best Answer

Use errorbar and hold on or as per the documentation, if y is a matrix errorbar plots a separate line for each column.