MathGroup Archive 2007

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

Search the Archive

Re: Plot in a Do loop does nothing


Do[Print[Plot[Sin[x], {x, 0, 2*n*Pi}]], {n, 1, 2}]

GraphicsColumn[Table[Plot[Sin[x], {x, 0, 2*n*Pi}], {n, 1, 2}]]


Bob Hanlon

---- Tim Birks <pystab at hotmail.com> wrote: 
> 
> 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: Re: Book or Manual for 6?
  • Next by Date: Re: extracting fractional powers of series expansion?
  • Previous by thread: Re: Plot in a Do loop does nothing
  • Next by thread: Re: Plot in a Do loop does nothing