Shaded time series

Plot time series one above the other with coloured strips highlighting interesting features.

Download
Download

You are now following this Submission

Cite As

Carl Fischer (2026). Shaded time series (https://se.mathworks.com/matlabcentral/fileexchange/20625-shaded-time-series), MATLAB Central File Exchange. Retrieved .

Acknowledgements

Inspired by: ShadePlotForEmphasis

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.5.0

Slight improvement to parameter consistency checks.

Download
1.4.0

Accept different indicators to shade each subplot differently.
If the user specifies a single column of data then use the current plot instead of creating a new one to allow the user more control (eg. custom subplots).

Download
1.3.0

Detect inconsistent data lengths.

Download
1.2.0

Fixed bug that occurred when X was a row vector.

Download
1.1.0

Allow data in rows or columns. Extra sanity checks on data lengths.

Download
1.0.0

Download