MathGroup Archive 2004

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

Search the Archive

Re: Marking a (rectangular) zone in a standard 2D plot using "Rectangle"

  • To: mathgroup at smc.vnet.net
  • Subject: [mg49809] Re: Marking a (rectangular) zone in a standard 2D plot using "Rectangle"
  • From: AES/newspost <siegman at stanford.edu>
  • Date: Sun, 1 Aug 2004 18:48:41 -0400 (EDT)
  • References: <cearct$au6$1@smc.vnet.net> <cei967$2ki$1@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

In article <cei967$2ki$1 at smc.vnet.net>, "Peltio" <peltio at twilight.zone> 
wrote:

> But a faster way to do all of the above would be this:
> 
>     Plot[f[x], {x, a, b},
>         Prolog -> {
>             {RGBColor[1, 1, 0], Rectangle[{xmin, ymin}, {xmax,ymax}]}
>         }
>     ];


Or if you might want to do more complex things, use DisplayTogether[] 
with multiple Plot (LogPlot, ListPlot, etc)  and Show commands, with 
appropriate options in each of these as well as in the overall 
DisplayTogether command, and vary the order in which the individual plot 
commands are entered (later ones go on top).


  • Prev by Date: NthPermutation: how to change output format?
  • Next by Date: Re: newbie problem with NIntegrate
  • Previous by thread: Re: Marking a (rectangular) zone in a standard 2D plot using "Rectangle"
  • Next by thread: RE: Re: 3D graphs with constraints