Show doesn't work inside Do loop ?
- To: mathgroup at smc.vnet.net
- Subject: [mg101906] Show doesn't work inside Do loop ?
- From: "ibmichuco at hotmail.com" <ibmichuco at hotmail.com>
- Date: Wed, 22 Jul 2009 06:22:53 -0400 (EDT)
Hi, Is there a way to use Show inside a Do loop? For example, the following doesn't work: Do[ Print["i =",i]; Fig = Plot[Sin[i*x], {x, -5, 5}]; Show[Fig] , {i, 1, 5}] I would like to print different info at each step of the loop, therefore saving all Fig in a Table or Array doesn't help me. Thanks, Michuco