Re: plot variance(s)
- To: mathgroup at smc.vnet.net
- Subject: [mg51785] Re: plot variance(s)
- From: "Jens-Peer Kuska" <kuska at informatik.uni-leipzig.de>
- Date: Tue, 2 Nov 2004 02:05:06 -0500 (EST)
- Organization: Uni Leipzig
- References: <cm22ra$gjj$1@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
Hi, because you should type data = Table[{x, Sin[x]}, {x, 0, 2\[Pi]}]; Plot[Sin[x], {x, 0, 2Pi }, Epilog -> ({RGBColor[1, 0, 0], PointSize[0.03], Point[#]} & /@ data)] Regards Jens "Steven Shippee" <slshippee at comcast.net> schrieb im Newsbeitrag news:cm22ra$gjj$1 at smc.vnet.net... > 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 > > >