Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #13433 > unrolled thread

Re: Help with "recession bar" graph

Started byAlan G Isaac <alan.isaac@gmail.com>
First post2013-02-09 05:43 +0000
Last post2013-02-09 05:43 +0000
Articles 1 — 1 participant

Back to article view | Back to comp.soft-sys.math.mathematica

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: Help with "recession bar" graph Alan G Isaac <alan.isaac@gmail.com> - 2013-02-09 05:43 +0000

#13433 — Re: Help with "recession bar" graph

FromAlan G Isaac <alan.isaac@gmail.com>
Date2013-02-09 05:43 +0000
SubjectRe: Help with "recession bar" graph
Message-ID<kf4nlt$8ri$1@smc.vnet.net>
On 2/8/2013 11:12 AM, Bob Hanlon wrote:
> Show[
>   RegionPlot[
>    {6 <= x <= 13, 19 <= x <= 25, 39 <= x <= 46},
>    {x, 0, 50}, {y, 0, 100},
>    BoundaryStyle -> None],
>   ListLinePlot[data]]



This is informative, but it does not meet my needs.
You put the RegionPlot first, as needed for proper overlay,
but then it hijacks the plot properties.
I'm really looking for something equivalent to Matplotlib's
axvspan, in order to add a Graphics element to an existing plot.
For now I'm putting a rectangle in the Prolog and handling
the y-coordinates myself, but I'd welcome a better solution.

Thanks,
Alan Isaac

[toc] | [standalone]


Back to top | Article view | comp.soft-sys.math.mathematica


csiph-web