Re: FilledPlot Question
- To: mathgroup at smc.vnet.net
- Subject: [mg39054] Re: [mg39044] FilledPlot Question
- From: Ken Levasseur <klevasseur at mac.com>
- Date: Sun, 26 Jan 2003 05:22:56 -0500 (EST)
- Sender: owner-wri-mathgroup at wolfram.com
Matthew:
Here is one way to do it:
p1 = FilledPlot[x^2, {x, 2, 4}, DisplayFunction ->
Identity];
p2 = Plot[x^2, {x, 0, 5}, DisplayFunction -> Identity];
Show[{p1, p2}, DisplayFunction -> $DisplayFunction]
Ken Levasseur
Math. Sci.
UMass Lowell
> From: "Matthew Senn" <msenn77 at yahoo.com>
To: mathgroup at smc.vnet.net
> Reply-To: "Matthew Senn" <msenn77 at yahoo.com>
> Date: Sat, 25 Jan 2003 01:34:49 -0500 (EST)
> To: mathgroup at smc.vnet.net
> Subject: [mg39054] [mg39044] FilledPlot Question
>
> 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.
>
> thank you!
>
>
>