Re: Plot in a Do loop does nothing
- To: mathgroup at smc.vnet.net
- Subject: [mg78264] Re: Plot in a Do loop does nothing
- From: Jean-Marc Gulliet <jeanmarc.gulliet at gmail.com>
- Date: Wed, 27 Jun 2007 05:26:08 -0400 (EDT)
- Organization: The Open University, Milton Keynes, UK
- References: <f5qmft$475$1@smc.vnet.net>
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 Use *Print* as in Do[Print[Plot[Sin[x], {x, 0, 2*n*Pi}]], {n, 1, 2}] Regards, Jean-Marc