Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #8062 > unrolled thread
| Started by | Gabriel Landi <gtlandi@gmail.com> |
|---|---|
| First post | 2012-01-21 10:23 +0000 |
| Last post | 2012-01-21 10:23 +0000 |
| Articles | 1 — 1 participant |
Back to article view | Back to comp.soft-sys.math.mathematica
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: Filling question Gabriel Landi <gtlandi@gmail.com> - 2012-01-21 10:23 +0000
| From | Gabriel Landi <gtlandi@gmail.com> |
|---|---|
| Date | 2012-01-21 10:23 +0000 |
| Subject | Re: Filling question |
| Message-ID | <jfe3nv$a1t$1@smc.vnet.net> |
Thanks everyone for the tips.
Gabriel
On Jan 20, 2012, at 6:44 AM, Alexei Boulbitch wrote:
> Hi, Gabriel,
> Try this and play with the PlotStyle:
>
> Show[{
> Plot[{Exp[-(x - 3)^2], Exp[-(x - 5)^2]}, {x, 0, 10}],
> RegionPlot[
> y <= Exp[-(x - 5)^2] && x >= 2.5 && x < 4, {x, 0, 10}, {y, 0, 1},
> PlotPoints -> 180, PlotStyle -> LightRed],
> RegionPlot[
> y <= Exp[-(x - 3)^2] && x >= 4 && x < 5.5, {x, 0, 10}, {y, 0, 1},
> PlotPoints -> 180, PlotStyle -> LightBlue]
>
> }]
>
>
> 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
>
> Alexei BOULBITCH, Dr., habil.
> IEE S.A.
> ZAE Weiergewan,
> 11, rue Edmond Reuter,
> L-5326 Contern, LUXEMBOURG
>
> Office phone : +352-2454-2566
> Office fax: +352-2454-3566
> mobile phone: +49 151 52 40 66 44
>
> e-mail: alexei.boulbitch@iee.lu
>
>
Back to top | Article view | comp.soft-sys.math.mathematica
csiph-web