Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2009

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

Search the Archive

Re: Re: Highlighting data sections with a


On Sun, Aug 9, 2009 at 11:04 AM, Tomas Garza<tgarza10 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?

Paul

>
> Tomas
>
>
>> Date: Sat, 8 Aug 2009 04:37:58 -0400
>> From: hayes.tyler at gmail.com
>> Subject: [mg102404] Highlighting data sections with a different backgroun=
> d colour
>> To: mathgroup 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: Create jpg image files of mathematical equations
  • Next by Date: Re: RecurrenceTable warning
  • Previous by thread: Re: Highlighting data sections with a different
  • Next by thread: Re: Highlighting data sections with a