Re: How to animate the process of a function Plot in only one picture.
- To: mathgroup at smc.vnet.net
- Subject: [mg22638] Re: How to animate the process of a function Plot in only one picture.
- From: Jens-Peer Kuska <kuska at informatik.uni-leipzig.de>
- Date: Thu, 16 Mar 2000 09:10:54 -0500 (EST)
- Organization: Universitaet Leipzig
- References: <8an1v9$1te@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
"mason To: mathgroup at smc.vnet.net" wrote: > > Dear all, > How can I plot, for example, sin(x) and see the curve gradually extending > from x=0 ( curve up and down) until x=2pi? > Thanks. > My e-mail address : mailto:mhl at gn.tpemail.net.tw > Mason Lee Hi, what is with: Needs["Graphics`Animation`"] plt = Table[ Plot[Sin[x^2], {x, 0, t}, PlotRange -> {{0, 2\[Pi]}, {-1, 1}}, DisplayFunction -> Identity], {t, \[Pi]/25, 2\[Pi], \[Pi]/25}] ShowAnimation[plt] Regards Jens