Re: How to display parameter in animation?
- To: mathgroup at smc.vnet.net
- Subject: [mg87242] Re: [mg87192] How to display parameter in animation?
- From: Pratik Desai <pratikd at wolfram.com>
- Date: Sat, 5 Apr 2008 04:23:03 -0500 (EST)
- References: <200804031018.FAA26138@smc.vnet.net>
Holobundle wrote:
> How do I display the parameter in an animation?
>
> For example, I would like to see the values of the parameter 'a' in the following example from the mathematica documentation:
>
> Animate[Plot[Sin[x+a],{x,0,10}],{a,0,5}]
>
> In particular, if I pause the animation I would like to see what the value of the parameter is.
>
Hello,
One can also use PlotLabel, this will print the values dynamically as
the animation is running.
Animate[Plot[Sin[x + a], {x, 0, 10}, PlotLabel -> a], {a, 0, 5}]
Hope this helps,
Pratik Desai
Wolfram Research
- References:
- How to display parameter in animation?
- From: Holobundle <cowen@math.buffalo.edu>
- How to display parameter in animation?