MathGroup Archive 2009

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Highlighting data sections with a


On Aug 11, 2:57 am, Paul Makepeace <pa... at paulm.com> wrote:
> On Sun, Aug 9, 2009 at 11:04 AM, Tomas Garza<tgarz... at msn.com> wrote:
> > Hello,
>
> > Perhaps something like this?
>
> > Plot[Sin[x],{x,0,2 Pi},Prolog->{LightBlue,Rectangle[{1,-1},{1.5,1}]}]
>
> Cool - I notice Prolog isn't documented in Plot (altho' Epilog is). Is
> this usual in Mathematica?


The documentation does say that Plot takes the same options as
Graphics though, and you'll find Prolog mentioned there. Also to find
out what options exist for Plot just enter ??Plot or Options[Plot] in
your notebook.

To find out about Prolog enter ?Prolog

Mike

>
> Paul
>
>
>
> > Tomas
>
> >> Date: Sat, 8 Aug 2009 04:37:58 -0400
> >> From: hayes.ty... at gmail.com
> >> Subject:  Highlighting data sections with a different backgroun=
> > d colour
> >> To: mathgr... at smc.vnet.net
>
> >> Hello All:
>
> >> I was wondering if someone could point me in the right direction on
> >> how to shade the background of certain regions on a plot. More
> >> specifically, I am interested in using DateListPlot and FinancialData
> >> to produce a similar economic chart as "Chart 2" found here:
>
> >>http://www.economicsnapshots.com/archives/2006/snap20060705.htm
>
> >> I've thought of using both "Filling" and/or "BackGround" but frankly
> >> have gotten nowhere. Any hints on how to approach this?
>
> >> Cheers,
>
> >> t.



  • Prev by Date: Re: video on Presentations by Williams
  • Next by Date: Re: Create jpg image files of mathematical equations
  • Previous by thread: Re: Re: Highlighting data sections with a
  • Next by thread: Re: Re: Re: Highlighting data sections with a