Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2003
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2003

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

Search the Archive

Re: filled plot on part of x-interval

  • To: mathgroup at smc.vnet.net
  • Subject: [mg44615] Re: filled plot on part of x-interval
  • From: bobhanlon at aol.com (Bob Hanlon)
  • Date: Tue, 18 Nov 2003 06:41:44 -0500 (EST)
  • References: <bpa2bd$1c7$1@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

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