MathGroup Archive 2004

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

Search the Archive

Re: Problem with animate

  • To: mathgroup at
  • Subject: [mg47366] Re: Problem with animate
  • From: "Phil Light" <usenet at>
  • Date: Wed, 7 Apr 2004 03:16:20 -0400 (EDT)
  • References: <c4rd13$m9n$> <c4u28t$9c7$>
  • Sender: owner-wri-mathgroup at

Bob Hanlon wrote:
> As you stated, n has a value.  Either clear n before using it as an
> iterator or use a module to make it local.
> Module[{n}, Animate[Plot[Sin[n x],{x,0,2 Pi}],{n,1,6,1}]];

You're quite right - thanks for that. However even using an uninitialised or 
local variable wasn't working.

I haven't got a clue why but it's working fine now :)


  • Prev by Date: version of Mathematica for Performa 6200 CD
  • Next by Date: NonlinearRegress with model defined by NIntegrate
  • Previous by thread: Re: Problem with animate
  • Next by thread: consumed network licences?