Re: shading in area
- To: mathgroup at smc.vnet.net
- Subject: [mg17031] Re: [mg17004] shading in area
- From: "Hans J.-I. Michel" <hans at dorsai.org>
- Date: Wed, 14 Apr 1999 02:11:49 -0400
- Sender: owner-wri-mathgroup at wolfram.com
-----Original Message----- From: Tim <dgrover1 at maine.rr.com> To: mathgroup at smc.vnet.net Subject: [mg17031] [mg17004] shading in area >I have a function f[x_] := (x^4-9)/(3x-8) and Plot[f[x], {x,-1,1.5}]; I'm >looking for the area from -1 to 1.5 and would like to color in the area >under the curve from where the function crosses the x-axis to 1.5. Is there >a command in mathematica that will do this? > >Thanks, > >Tim > > > Tim Try the following: Use the Mathematica Stanadard Add on Package (Since Version 2.2) <<Graphics`FilledPlot` FilledPlot[(x^4-9)/(3x-8) ,{x, -Sqrt[3],1.5}] Hans