MathGroup Archive 2007

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

Search the Archive

Re: Filling only partly a region in a plot

  • To: mathgroup at smc.vnet.net
  • Subject: [mg83540] Re: Filling only partly a region in a plot
  • From: Bill Rowe <readnewsciv at sbcglobal.net>
  • Date: Thu, 22 Nov 2007 04:55:16 -0500 (EST)

On 11/21/07 at 6:01 AM, xavier.brusset_ at at_**uclouvain.be wrote:

>Hi, I am trying to represent 2 curves and grey part of the region
>between them in a 2D graph. The pb is how to make the plot
>representing the whole of the functions over their domains and yet
>only grey out some area without going to the expense of making 2
>graphs and then combining them.

With version 6, you can use the Filling option, i.e.,

Plot[{x, x^2}, {x, 0, 2}, Filling->True]

With previous versions, you can use the function FilledPlot in
the package Graphics`FilledPlot`
--
To reply via email subtract one hundred and four


  • Prev by Date: Re: Mapping Functions That Take More Than One Argument
  • Next by Date: Re: Split window vertically or horizontally in Math6.0?
  • Previous by thread: Filling only partly a region in a plot
  • Next by thread: Re: Graphics3D exported to pdf