Re: Re: filled plot on part of x-interval

*To*: mathgroup at smc.vnet.net*Subject*: [mg44639] Re: [mg44623] Re: [mg44599] filled plot on part of x-interval*From*: Andrzej Kozlowski <akoz at mimuw.edu.pl>*Date*: Wed, 19 Nov 2003 04:59:06 -0500 (EST)*References*: <200311170838.DAA01205@smc.vnet.net> <EB290F48-18F5-11D8-AB6F-00039311C1CC@mimuw.edu.pl> <200311181141.GAA12365@smc.vnet.net>*Sender*: owner-wri-mathgroup at wolfram.com

I am sorry, I failed to read your question carefully. Now to compensate, I have to come up with a way that is different form every one that I have seen so far, so here it is: <<Graphics`FilledPlot` FilledPlot[{Sin[x],UnitStep[2-x]Sin[x]},{x,0,10}] Andrzej Kozlowski On 18 Nov 2003, at 20:41, Murray Eisenberg wrote: > That does NOT do what I asked, since it does not draw the function > graph > outside the interval over which it's filled. > > I did succeed in simply using a Show after creating two separate plots, > one of the plain graph over the entire, larger interval; the other just > the filled plot with PlotRange to restrict the interval over which the > fill is shown. > > Andrzej Kozlowski wrote: > >> Just use the PlotRange option. >> >> << Graphics`FilledPlot` >> >> FilledPlot[Sin[x], {x, 2, 10}, PlotRange -> {{0, 10}, Automatic}] >> >> On 17 Nov 2003, at 17:38, Murray Eisenberg wrote: >> >>> 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 > >

**References**:**filled plot on part of x-interval***From:*Murray Eisenberg <murray@math.umass.edu>

**Re: filled plot on part of x-interval***From:*Murray Eisenberg <murray@math.umass.edu>