Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #13430
| From | JZ <zirbel@gmail.com> |
|---|---|
| Newsgroups | comp.soft-sys.math.mathematica |
| Subject | Re: Help with "recession bar" graph |
| Date | 2013-02-09 05:43 +0000 |
| Message-ID | <kf4nl5$8r3$1@smc.vnet.net> (permalink) |
| References | <bvd8kg$5ca$1@smc.vnet.net> |
| Organization | Time-Warner Telecom |
Show[
{DateListPlot[yourData[[All, {1, 2}]]],
Graphics[
{Thick,
Green,
Rectangle[
{AbsoluteTime[{2013, 1, 21}], 90},
{AbsoluteTime[{2013, 1, 31}], 100}
]
}
],
DateListPlot[yourData[[All, {1, 2}]]
]
}
]
On Friday, January 30, 2004 1:34:59 AM UTC-8, Mark Coleman wrote:
> Hi,
>
> I was wondering if someone might assist me in the construction of a
> "recession bar" graph. This type of graph is often used in economics
> to depict interesting sub-periods on a time series graph. .For this
> type of graph, the user would specify one or more intervals of
> interest. Each interval would be depicted by a shaded vertical column,
> the width of which spans the regions of interest (image a series of
> possibly irregularly spaced vertical grid lines, with shading in
> between). For an example, see
> http://www.cepr.org/data/eurocoin/recession/
>
> I've been trying to figure out a way to get gridlines to do this in
> LIstPlot. Any ideas?
>
> Thanks,
>
> Mark
Back to comp.soft-sys.math.mathematica | Previous | Next | Find similar | Unroll thread
Re: Help with "recession bar" graph JZ <zirbel@gmail.com> - 2013-02-09 05:43 +0000
csiph-web