MathGroup Archive 2007

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

Search the Archive

Plot in a Do loop does nothing

  • To: mathgroup at smc.vnet.net
  • Subject: [mg78229] Plot in a Do loop does nothing
  • From: "Tim Birks" <pystab at hotmail.com>
  • Date: Tue, 26 Jun 2007 04:34:21 -0400 (EDT)
  • Organization: School of Physics, University of Bath, UK

Can anyone please explain why the line:
Do[Plot[Sin[x], {x, 0, 2*n*Pi}], {n, 1, 2}]

does nothing in Mathematica 6? Or, how else I can produce such a series of 
related plots? It worked fine in Mathematica 5!

T




  • Prev by Date: Summations
  • Next by Date: extracting fractional powers of series expansion?
  • Previous by thread: Re: Summations
  • Next by thread: RE: Plot in a Do loop does nothing