Services & Resources / Wolfram Forums
MathGroup Archive
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2004

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

Search the Archive

plot variance(s)

  • To: mathgroup at
  • Subject: [mg51749] plot variance(s)
  • From: "Steven Shippee" <slshippee at>
  • Date: Sun, 31 Oct 2004 01:17:31 -0500 (EST)
  • Sender: owner-wri-mathgroup at

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


  • Prev by Date: 3D Plot
  • Next by Date: Re: Converting Mathematica to MS Word
  • Previous by thread: Re: bimodal distribution in sign of difference of Pi digits]
  • Next by thread: newbie question on functions