Re: Animation

*To*: mathgroup at smc.vnet.net*Subject*: [mg112655] Re: [mg112619] Animation*From*: Alexei Boulbitch <alexei.boulbitch at iee.lu>*Date*: Fri, 24 Sep 2010 05:39:37 -0400 (EDT)

Try this place = {{10, 4}, {10, 7}, {10, 5}, {9, 7}}; Animate[Graphics[{PointSize -> Large, Point[Drop[place, -(Length[place] - i)]]}, Frame -> True, PlotRange -> {{1, 10}, {1, 10}}], {i, 1, Length[place], 1}] I have a table of coordinates eg place={{10, 4}, {10, 7}, {10, 5}, {9, 7}} I want to make an animation of these points which adds them successively. so the following almost works (NB I know that ListAnimate would work as well and is possibly preferable) Manipulate[ Graphics[{PointSize -> Large, Point[place[[i]]]}, Frame -> True, PlotRange -> {{1, 10}, {1, 10}}], {i, 1, 4, 1}] in that it displays the points successively. bu what I want is for the preceding points to be left visible (so the number of points grows). Needless to say the above is a trivial example, in practice I could have 10s of thousands of points and so want to be careful not to create very large arrays. Thanks -- Alexei Boulbitch, Dr. habil. Senior Scientist Material Development IEE S.A. ZAE Weiergewan 11, rue Edmond Reuter L-5326 CONTERN Luxembourg Tel: +352 2454 2566 Fax: +352 2454 3566 Mobile: +49 (0) 151 52 40 66 44 e-mail: alexei.boulbitch at iee.lu www.iee.lu -- This e-mail may contain trade secrets or privileged, undisclosed or otherwise confidential information. If you are not the intended recipient and have received this e-mail in error, you are hereby notified that any review, copying or distribution of it is strictly prohibited. Please inform us immediately and destroy the original transmittal from your system. Thank you for your co-operation.