scatter(t,d40avg)hold on%plot(t,trend40)
errorbar(d40avg,d40std)hold off
MATLAB: Error bars are automatically offset. they look correct just the error bar for any point should be located at the point before it
dataerrorerror barsgraphsMATLABplots
Best Answer