MathGroup Archive 2003

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

Search the Archive

Re: FilledPlot Question

  • To: mathgroup at smc.vnet.net
  • Subject: [mg39061] Re: FilledPlot Question
  • From: "Steven Shippee" <slshippee at attbi.com>
  • Date: Sun, 26 Jan 2003 05:23:36 -0500 (EST)
  • References: <b0tetq$9hu$1@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

How about something along the lines of:

<<Graphics`FilledPlot`

then

FilledPlot[{1 - x^2}, {x,  (-1),  1}];

FilledPlot[{1 - x^2,  2 - 2  x^2}, {x,  (-1), 1}];

FilledPlot[{1 - x^2,  2 - 2  x^2,  3 - 3  x^2}, {x,  (-1),  1}];

in response to

Matthew Senn's

> i'm relatively new using mathematica 4.2.  the other day, i came across
what
> seemed to be a simple problem, but i couldn't figure out how to do it.
>
> say i was plotting y=x^2, and i wanted to shade the region under the graph
> only between x=2 to x=4 over a range of {x, 0, 5}, is there a way to do
> this?  i tried FilledPlot, but it filled the entire area under the graph.

Steven Shippee
mailto:shippee at jcs.mil
Home: (360) 493-8353
Work:  (360) 902-5817



  • Prev by Date: Re: Repetitive sums of divisors
  • Next by Date: Re: FilledPlot Question
  • Previous by thread: Re: FilledPlot Question
  • Next by thread: Re: FilledPlot Question