The Math Forum

Search All of the Math Forum:

Views expressed in these public forums are not endorsed by NCTM or The Math Forum.

Math Forum » Discussions » Inactive » comp.soft-sys.math.mathematica

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

Topic: Help with "recession bar" graph
Replies: 4   Last Post: Feb 9, 2013 12:43 AM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
Josh Zirbel

Posts: 2
Registered: 11/25/12
Re: Help with "recession bar" graph
Posted: Feb 9, 2013 12:43 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

{DateListPlot[yourData[[All, {1, 2}]]],
{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
> I've been trying to figure out a way to get gridlines to do this in
> LIstPlot. Any ideas?
> Thanks,
> Mark

Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© The Math Forum at NCTM 1994-2018. All Rights Reserved.