MathGroup Archive 2003

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

Search the Archive

RE: filled plot on part of x-interval


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


  • Prev by Date: RE: filled plot on part of x-interval
  • Next by Date: Re: Linear Regression and Hat Matrix
  • Previous by thread: RE: filled plot on part of x-interval
  • Next by thread: RE: filled plot on part of x-interval