MathGroup Archive 2008

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

Search the Archive

Small question about Filling between two functions in a determined interval

  • To: mathgroup at smc.vnet.net
  • Subject: [mg94284] Small question about Filling between two functions in a determined interval
  • From: "Felipe Mannshardt" <vexie.infamous at googlemail.com>
  • Date: Tue, 9 Dec 2008 23:11:44 -0500 (EST)

Hello,

i have been trying to get this working, without much success.

What i want, is to fill an area between two functions, but only between the
interval from x=2 to x=8

I have,

u[x_]:=48x
k[x_]:=2x^3-18x^2+60x+32

Plot[{k[x], u[x]}, {x, -2, 10}, Filling -> {1 -> {2}}]

It draws (fills) every area between k(x) and u(x).

How can i tell Mathematica to just fill between a determined interval (x
Axis : 2->8 ) ?

Thanks !

PS: Between, what is the most used way of pasting text from Mathematica in
here  ? (Plain Text ? LATEX ? ??? )


Thanks !!!



  • Prev by Date: a question
  • Next by Date: Continuous function, solve an equation and 2D image
  • Previous by thread: Re: a question
  • Next by thread: Re: Small question about Filling between two functions in a