Re: Plot in a Do loop does nothing
- To: mathgroup at smc.vnet.net
- Subject: [mg78335] Re: Plot in a Do loop does nothing
- From: "Tim Birks" <pystab at hotmail.com>
- Date: Thu, 28 Jun 2007 04:34:30 -0400 (EDT)
- Organization: School of Physics, University of Bath, UK
- References: <f5qmft$475$1@smc.vnet.net> <f5tb0i$1hk$1@smc.vnet.net>
Thanks to all who answered my question, via the group or email, with this and other solutions and explanations. I would never have found out otherwise. If there's something about it in the Mathematica documentation, I (not an expert or deeply familiar with the software) didn't notice it. Apologies for asking an "old one", but I did search before posting and found nothing. T. "dh" <dh at metrohm.ch> wrote in message news:f5tb0i$1hk$1 at 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 > >> > >> > >> > > >