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 .
Attempt to add citation
added a semicolon.
Inspired by: raacampbell/shadedErrorBar