Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2008

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

Search the Archive

Re: Possible bug in ListAnimate[] or Manipulate[] v6.0

  • To: mathgroup at smc.vnet.net
  • Subject: [mg85224] Re: Possible bug in ListAnimate[] or Manipulate[] v6.0
  • From: Jean-Marc Gulliet <jeanmarc.gulliet at gmail.com>
  • Date: Sat, 2 Feb 2008 23:29:46 -0500 (EST)
  • Organization: The Open University, Milton Keynes, UK
  • References: <fo19tv$g1a$1@smc.vnet.net>

Pickett, Matthew wrote:

> I think I have found a bug with ListAnimate[] (or possibly in Manipulate[] 
> which is called by ListAnimate[] since the error I get is related to Manipulate[]).
> 
> I can get this to happen repeatably:
> 
> With a fresh kernel if I use the example from the help file on ListAnimate everything works just fine:
> 
> ListAnimate[Table[Plot[Sin[n x], {x, 0, 10}], {n, 5}]]
> 
> However, If 'i' is not clear:
> 
> i=3;
> ListAnimate[Table[Plot[Sin[n x], {x, 0, 10}], {n, 5}]]
> 
> I get the error:
> 
> Manipulate::vsform: Manipulate argument \
> {{3,1,},1,5,1,AnimationRate->Automatic,DisplayAllSteps->True,\
> AppearanceElements->{ProgressSlider,PlayPauseButton,\
> FasterSlowerButtons,DirectionButton}} does not have the correct form \
> for a variable specification.
> 
> My guess is that the Manipulate function requires 'i' to be clear.  My understanding is that this should not be the case since intrinsic functions should use either local variables or global variables that start with a capital letter.
> 
> Can anyone else repeat this behavior?
> If so, is it a bug?
> If so, where should I report it?

Matthew,

I could not reproduce this bug on my system (Max OS X 1.5.1, Mathematica 
6.0.1, 64=bit Intel Core 2 Duo). Both expressions worked as expected.

In[1]:= ListAnimate[Table[Plot[Sin[n x], {x, 0, 10}], {n, 5}]]

In[2]:= i = 3;
ListAnimate[Table[Plot[Sin[n x], {x, 0, 10}], {n, 5}]]

In[4]:= $Version

Out[4]= "6.0 for Mac OS X x86 (64-bit) (June 19, 2007)"

Could you give us more information about your system? By the way, did 
you try the command in a fresh session?

Regards,

-- 
Jean-Marc



  • Prev by Date: Re: Fourier Series Expansions and it's Coefficients question revised
  • Next by Date: Re: Possible bug in ListAnimate[] or Manipulate[] v6.0
  • Previous by thread: Re: Possible bug in ListAnimate[] or Manipulate[] v6.0
  • Next by thread: Re: Possible bug in ListAnimate[] or Manipulate[] v6.0