MathGroup Archive 2010

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

Search the Archive

Re: Filling from x_1 to x_2

  • To: mathgroup at smc.vnet.net
  • Subject: [mg111993] Re: Filling from x_1 to x_2
  • From: Murray Eisenberg <murray at math.umass.edu>
  • Date: Mon, 23 Aug 2010 02:40:47 -0400 (EDT)

Perhaps something like the following?

   Show[{
      Plot[x^2, {x, -1, 3}],
         Plot[x^2, {x, 1, 2}, Filling -> Axis, AxesOrigin -> {0, 0}]
        }]

On 8/22/2010 8:10 AM, Anders wrote:
> Hi,
>
> I'm trying to only fill the area under a function from one x-value
> (x_1) to another x-value (x_2) (the purpose is to represent an
> integral with the filling) . I'm using the Filling ->  Axis option, but
> I'm not sure how to limit the x-values.
>
> Do you guys know anything about this?
>
>
> Andrew
>

-- 
Murray Eisenberg                     murray at math.umass.edu
Mathematics & Statistics Dept.
Lederle Graduate Research Tower      phone 413 549-1020 (H)
University of Massachusetts                413 545-2859 (W)
710 North Pleasant Street            fax   413 545-1801
Amherst, MA 01003-9305


  • Prev by Date: Re: Filling from x_1 to x_2
  • Next by Date: Re: Getting started with 3D cardioid
  • Previous by thread: Re: Filling from x_1 to x_2
  • Next by thread: Re: Filling from x_1 to x_2