From: us on
"Corey Marriott" <cgarriott(a)yahoo.com> wrote in message <hlclc1$m4i$1(a)fred.mathworks.com>...
> Hey all,
>
> I would like to plot a dataset and color certain vertical regions of the background a different color (namely gray). The gray regions will represent an economic recession. Does anyone know how to color vertical regions of the background?
>
> If it helps I am trying to produce something like http://research.stlouisfed.org/fred2/data/USINTDMRKTOTH_Max_630_378.png with the "gray bars" running up certain regions of the x axis.
>
> C.M.

a hint:

help patch;

us