Re: Problem with Animate in Mathematica 6.0
- To: mathgroup at smc.vnet.net
- Subject: [mg76582] Re: Problem with Animate in Mathematica 6.0
- From: Jean-Marc Gulliet <jeanmarc.gulliet at gmail.com>
- Date: Thu, 24 May 2007 06:07:22 -0400 (EDT)
- Organization: The Open University, Milton Keynes, UK
- References: <f3103f$mon$1@smc.vnet.net>
dsorasak at wu.ac.th wrote:
> Dear All,
>
> I have a trouble with Animate function in Mathematica
> 6.0.
>
> It seems to run fine but there is no animation showing up
> just the scroll bar moving. Don't see anything. Here is the expression
> that I use.
>
> Animate[ListPlot[Table[c[k,i],{i,0,imax}],Joined
>
> Thank you very much,
> K
>
Your expression is truncated (as posted, it does not make any sense) and
some definitions are missing (imax and the function c). Try, for
example, the following:
c[a_, b_] := a + b*RandomReal[];
Animate[ListPlot[Table[c[k, i], {i, 0, 5}], Joined -> True],
{k, 0, 5, 1}]
Regards,
Jean-Marc