Re: Plot in a Do loop does nothing
- To: mathgroup at smc.vnet.net
- Subject: [mg78259] Re: Plot in a Do loop does nothing
- From: dh <dh at metrohm.ch>
- Date: Wed, 27 Jun 2007 05:23:34 -0400 (EDT)
- References: <f5qmft$475$1@smc.vnet.net>
Hi Tim,
this is already an "old one".
Version 6 treats graphics like text. Therefore, you need to "print" it,
simply wrap "Print" around the "Plot".
hope this helps, Daniel
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
>
>
>