Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2003
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2003

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

Search the Archive

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


  • 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