MathGroup Archive 2003

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

Search the Archive

Re: filled plot on part of x-interval


Needs["Graphics`"];

f[x_] := (x-4)(x-6);

FilledPlot[{f[x], f[x]*(1-UnitStep[x-2])},
    {x,0,10}];

DisplayTogether[Plot[f[x], {x,0,10}],
    FilledPlot[f[x], {x,2,10}]];


Bob Hanlon

In article <bpa2bd$1c7$1 at smc.vnet.net>, <murray at math.umass.edu> wrote:

<< How do I use a FilledPlot that fills the region under the graph of f[x] 
only, say, for x from 2 to 10 but still graphs the function itself from 
0 to 10?


  • Prev by Date: Alternative to bivariate Taylor series
  • Next by Date: Re: FindMinimum Problem
  • Previous by thread: Re: filled plot on part of x-interval
  • Next by thread: Re: filled plot on part of x-interval