Re: filled plot on part of x-interval

*To*: mathgroup at smc.vnet.net*Subject*: [mg44719] Re: filled plot on part of x-interval*From*: AES/newspost <siegman at stanford.edu>*Date*: Sat, 22 Nov 2003 02:17:13 -0500 (EST)*References*: <bpkpsf$cfu$1@smc.vnet.net>*Sender*: owner-wri-mathgroup at wolfram.com

In article <bpkpsf$cfu$1 at smc.vnet.net>, "Wolf, Hartmut" <Hartmut.Wolf at t-systems.com> wrote: > > >-----Original Message----- > >From: AES/newspost [mailto:siegman at stanford.edu] To: mathgroup at smc.vnet.net > >Sent: Thursday, November 20, 2003 9:16 AM > >To: mathgroup at smc.vnet.net > >Subject: [mg44719] Re: filled plot on part of x-interval > > > > > >I'll still assert that something like: > > > > Needs["Graphics`Graphics`"]; > > Needs["Graphics`Colors`"]; > > Needs["Graphics`FilledPlot`"]; > > > > DisplayTogether[ > > FilledPlot[{Sin[x], Sin[x]}, {x,2,8}], > > Plot[Sin[x], {x,0,10}, PlotStyle->Red]]; > > > >is clear, simple, flexible, and readable -- and allows you to easily > >modify the styles (linewidths, colors) of the different components of > >the plot independently, as done here, and add additional stuff if you > Dear Professor Siegman, > > my principal objection is illustrated by the (exaggerated) example: > > DisplayTogether[ > FilledPlot[Sin[x], {x, 2, 8}, Fills -> {{{1, Axis}, Yellow}}, > PlotPoints -> 5, PlotDivision -> 2], > Plot[Sin[x], {x, 0, 10}, PlotStyle -> Red, PlotPoints -> 5, > PlotDivision -> 2]]; I take the point here -- but I think we'd both agree that PlotPoints->5 is indeed pretty exaggerated, and not a case that one would often employ.