plot - Plotting error values in MATLAB for highly dense temporal data -


i know can plot error values in matlab using errorbar.m however, need know if possible plot error values "faded tape" on data actual data values still visible. can see plot below generated using errorbar.m, data line overwhelmed error bars.

enter image description here

use patch, transparency see other data series underneath:

xdata = [...]; value =[...]; errors = [...];  patch_x = [xdata fliplr(xdata)]; patch_y = [(value + errors) fliplr(value - errors)];  figure; hold on; patch(patch_x,patch_y,'facealpha',0.5,'edgecolor','none'); plot(xdata,value) 

Comments