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. >