Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #8038

Re: Filling question

From Bob Hanlon <hanlonr357@gmail.com>
Newsgroups comp.soft-sys.math.mathematica
Subject Re: Filling question
Date 2012-01-20 06:57 +0000
Organization Steven M. Christensen and Associates, Inc and MathTensor, Inc.
Message-ID <jfb384$hs2$1@smc.vnet.net> (permalink)
References <201201191138.GAA05895@smc.vnet.net>

Show all headers | View raw


Show[
 RegionPlot[
  y < Exp[-(x - 3)^2] && y < Exp[-(x - 5)^2],
  {x, 0, 10}, {y, 0, 1},
  MaxRecursion -> 9,
  BoundaryStyle -> None],
 Plot[
  {Exp[-(x - 3)^2], Exp[-(x - 5)^2]},
  {x, 0, 10}],
 AspectRatio -> 1/GoldenRatio,
 ImageSize -> 500]


Bob Hanlon

On Thu, Jan 19, 2012 at 6:38 AM, Gabriel Landi <gtlandi@gmail.com> wrote:
> Here is a silly question: How to fill the region between two overlapping
> curves? e.g., the region near x=4 in
>
> Plot[{Exp[-(x - 3)^2], Exp[-(x - 5)^2]}, {x, 0, 10}
>
> Thanks in advance,
>
> Gabriel Landi
>

Back to comp.soft-sys.math.mathematica | Previous | Next | Find similar | Unroll thread


Thread

Re: Filling question Bob Hanlon <hanlonr357@gmail.com> - 2012-01-20 06:57 +0000

csiph-web