MathGroup Archive 2008

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

Search the Archive

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



  • Prev by Date: same input ... different results???
  • Next by Date: Re: Colored Output
  • Previous by thread: Re: How to display parameter in animation?
  • Next by thread: Re: How to display parameter in animation?