This function takes a figure containing time series data, along with data about the time axis and which points along it show significance and then plots a series of shaded patches over continuous time windows that are significant.
Benjamin Lucas (2020). shade_significant_timepoints (https://www.mathworks.com/matlabcentral/fileexchange/58745-shade_significant_timepoints), MATLAB Central File Exchange. Retrieved .
Inspired by: raacampbell/shadedErrorBar
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!