RE: filled plot on part of x-interval
- To: mathgroup at smc.vnet.net
- Subject: [mg44626] RE: [mg44599] filled plot on part of x-interval
- From: "David Turner" <dturner at faulkner.edu>
- Date: Tue, 18 Nov 2003 06:41:57 -0500 (EST)
- Sender: owner-wri-mathgroup at wolfram.com
Murray,
Try
In[1]:= $TextStyle = {FontSize -> 18};
In[2]:= Needs["Graphics`FilledPlot`"]
In[3]:= Needs["Graphics`Colors`"]
In[4]:= p:= Plot[Sin[x], {x, 0, 10}, DisplayFunction -> Identity]
In[5]:= q:= FilledPlot[Sin[x], {x, 2, 10}, Fills -> Orchid,
DisplayFunction -> Identity
In[6]:= Show[{p, q}, AxesFront -> True, ImageSize -> 500,
DisplayFunction -> $DisplayFunction];
David Turner
-----Original Message-----
From: Murray Eisenberg [mailto:murray at math.umass.edu]
To: mathgroup at smc.vnet.net
Subject: [mg44626] [mg44599] filled plot on part of x-interval
How do I use a FilledPlot that fills the region under the graph of f[x]
only, say, for x from 2 to 10 but still graphs the function itself from
0 to 10?
--
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