MathGroup Archive 2007

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

Search the Archive

Re: Plot in a Do loop does nothing

  • To: mathgroup at smc.vnet.net
  • Subject: [mg78278] Re: Plot in a Do loop does nothing
  • From: Jens-Peer Kuska <kuska at informatik.uni-leipzig.de>
  • Date: Wed, 27 Jun 2007 05:33:18 -0400 (EDT)
  • Organization: Uni Leipzig
  • References: <f5qmft$475$1@smc.vnet.net>
  • Reply-to: kuska at informatik.uni-leipzig.de

Hi,

we have had the question already two or three times

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

Regards
   Jens

Tim Birks 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: Quick Question
  • Next by Date: Another Question on Style Sheets
  • Previous by thread: Re: Plot in a Do loop does nothing
  • Next by thread: Re: Plot in a Do loop does nothing