Re: Plot - Filling area that is above more curves
- To: mathgroup at smc.vnet.net
- Subject: [mg97927] Re: Plot - Filling area that is above more curves
- From: dh <dh at metrohm.com>
- Date: Thu, 26 Mar 2009 05:18:53 -0500 (EST)
- References: <gqd1ro$nu4$1@smc.vnet.net>
dragec wrote:
> Is there any way to fill area that is (in the same time) above more
> curves in Plot function? So that filled area is not crossed with any
> regarded function.
Plot the curves and filled region separately and join them using Show:
Show[Plot[{Sin[x], Cos[x]}, {x, 0, 6}],
RegionPlot[y > Max[Sin[x], Cos[x]], {x, 0, 6}, {y, -1, 1}]]
>
> How to construct function from other function
s that returns the
> biggest value from all functions in question?
f3[x_]:=Max[f1[x],f2[x]]
>
> THX
>