Overlay recession bands on a time series plot
recessionplot
overlays shaded recession
bands on a time series plot.
recessionplot(
uses
additional options specified by one or more Name,Value
)Name,Value
pairs.
recessionplot
requires that you
express dates on the horizontal axis of a time series plot as serial
date numbers. To convert other date information to this format before
plotting, use datenum
.
Use the output handles to change the color and transparency
of the recession bands by setting their FaceColor
and FaceAlpha
properties.
This might be necessary to achieve satisfactory displays when working
with certain monitors and projectors.