Re: plot variance(s)

*To*: mathgroup at smc.vnet.net*Subject*: [mg51764] Re: [mg51749] plot variance(s)*From*: Bob Hanlon <hanlonr at cox.net>*Date*: Mon, 1 Nov 2004 02:52:48 -0500 (EST)*Reply-to*: hanlonr at cox.net*Sender*: owner-wri-mathgroup at wolfram.com

You left the x-coordinates unspecified so they defaulted to the positive integers. Change your data definition to data=Table[{x,Sin[x]},{x,0,2?}]; Bob Hanlon > > From: "Steven Shippee" <slshippee at comcast.net> To: mathgroup at smc.vnet.net > Date: 2004/10/31 Sun AM 01:17:31 EST > To: mathgroup at smc.vnet.net > Subject: [mg51764] [mg51749] plot variance(s) > > Input1: data = Table[Sin[x], {x, 0, 2\[Pi]}]; > > Input 2: p1 = ListPlot[data, > PlotStyle -> {Red, PointSize[0.03]}, DisplayFunction -> Identity]; > > Input 3: p2 = Plot[Sin[x], {x, 0, 2\[Pi]}, DisplayFunction -> Identity]; > > Input 4: Show[p1, p2, DisplayFunction -> $DisplayFunction]; > > Why doesn't p2 directly overlay the dots in p1? Thanks in advance, > > Steven Shippee > > slshippee at comcast.net > > 360-493-8353 > > > >