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

MathGroup Archive 2009

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

Search the Archive

Re: Re: Re: Highlighting data sections with a

  • To: mathgroup at smc.vnet.net
  • Subject: [mg102506] Re: [mg102477] Re: [mg102425] Re: [mg102404] Highlighting data sections with a
  • From: "David Park" <djmpark at comcast.net>
  • Date: Wed, 12 Aug 2009 04:31:45 -0400 (EDT)
  • References: <200908080837.EAA01246@smc.vnet.net> <200908091004.GAA15814@smc.vnet.net> <24957277.1249979195408.JavaMail.root@n11>

What Plot does is refer one to Graphics for the full list of options.

It is often useful to obtain the list of options for a function by
evaluating, say, 

Options[Plot] // Column

Thomas Munch posted a neat tool on MathGroup that allows one to quickly get
options for a function in your code. The options are generated in a palette
table with tooltips giving default values and usage messages. You can also
use the palette to link to the documentation pages for the options or the
function. You can paste the option into your code with the default value
selected and then type in your new value.

http://forums.wolfram.com/mathgroup/archive/2009/May/msg00351.html 

Thomas and Syd Geraghty gave me permission to put a version of this into
Presentations. 

David Park
djmpark at comcast.net
http://home.comcast.net/~djmpark/  


From: Paul Makepeace [mailto:paulm at paulm.com] 

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: Dynamically create array and display data graphically
  • Next by Date: Re: Dynamically create array and display data graphically
  • Previous by thread: Re: Highlighting data sections with a
  • Next by thread: Re: Highlighting data sections with a different