RE: animation
- To: mathgroup at smc.vnet.net
- Subject: [mg45097] RE: [mg45073] animation
- From: "Owen, HL (Hywel)" <H.L.Owen at dl.ac.uk>
- Date: Wed, 17 Dec 2003 07:54:17 -0500 (EST)
- Sender: owner-wri-mathgroup at wolfram.com
Instead of using For, make a list of the points e.g. pts={1,2,3,5,6} to miss
out 4. Then do:
ListPlot[...#]&/@pts , putting # where the iterator i would go. This will
map the ListPlot over the list of points (pts) you have.
Hywel
> -----Original Message-----
> From: M.L. Bondar [mailto:mbondar at win.tue.nl]
To: mathgroup at smc.vnet.net
> Sent: 16 December 2003 11:21
> To: mathgroup at smc.vnet.net
> Subject: [mg45097] [mg45073] animation
>
>
>
> I have the following problem with Mathematica.
>
>
> I need to make an animation and I use For[i=1, i<=n
> ListPlot[.....]; i++]
> which creates n plots. After that I double click on the
> grouping bracket
> to the right of the plots to close the group and animate it.
>
> Is there any possibility to make the animation avoiding the
> ploting of
> all n plots?
>
> Thank you in advance.
>
> Regards,
>
> Luiza Bondar
>
>