MathGroup Archive 2004

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

Search the Archive

Re: plot variance(s)


On Sunday, October 31, 2004, at 01:17 AM, Steven Shippee wrote:

> 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];

Construct the ListPlot data using

data = Table[{x, Sin[x]}, {x, 0, 2*Pi}];

and everything should be OK.

==========
Hugh Walker
Gnarly Oaks


  • Prev by Date: Re: What is zero ?
  • Next by Date: closing notebook cells
  • Previous by thread: Re: What is zero ?
  • Next by thread: Re: plot variance(s)