MathGroup Archive 2003

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

Search the Archive

Re: FilledPlot Question

  • To: mathgroup at smc.vnet.net
  • Subject: [mg39110] Re: [mg39044] FilledPlot Question
  • From: Tomas Garza <tgarza01 at prodigy.net.mx>
  • Date: Wed, 29 Jan 2003 03:39:01 -0500 (EST)
  • References: <200301250634.BAA09620@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

One possibility:

In[1]:=
g1 = Plot[x^2, {x, 0, 5}];

In[2]:=
<<Graphics`FilledPlot`

In[3]:=
g2 = FilledPlot[x^2, {x, 2, 4}];

In[4]:=
Show[g1, g2];

Tomas Garza
Mexico City

----- Original Message -----
From: "Matthew Senn" <msenn77 at yahoo.com>
To: mathgroup at smc.vnet.net
Subject: [mg39110] [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!
>
>
>
>




  • Prev by Date: Re: new operator
  • Next by Date: TeXForm for Plot command
  • Previous by thread: FilledPlot Question
  • Next by thread: Re: FilledPlot Question