MathGroup Archive 2003

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

Search the Archive

Re: How to have shaded background for just a portion of a plot?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg45240] Re: How to have shaded background for just a portion of a plot?
  • From: Peter Hahn <pg.hahn at arcor.de>
  • Date: Tue, 23 Dec 2003 05:13:32 -0500 (EST)
  • References: <bruppb$ssk$1@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

Hi,

when in need to shade an area on only one axis (i.e. 0<x<2), I often use
GridLines with a very narrow spacing of the gridlines in order to make
them overlap. Obviously, this will not work if you want to have an area
which has limits on both axes (ie. 0<x<2 && 0<y<2).

Peter

nafod40 wrote:

> Hola,
> 
> Anyone know how to shade the background of just a portion of a plot? 
> I've tried placing shaded rectangles behind the plot using Show, 
> DisplayTogether, Epilog, and Prolog and all permutations (2^4) thereof. 
> I have a framed and gridded plot, and I want to shade a region.
> 
> Rectangle always overwrites the axes and grids. I would rather not 
> create the axes and grids myself.
> 


  • Prev by Date: how to 'edit' MatrixForm output to create a new matrix?
  • Next by Date: Re: Book Recommendations
  • Previous by thread: Re: How to have shaded background for just a portion of a plot?
  • Next by thread: Transpose matrix does not work when MatrixForm is used, why?