Re: scatterplot3d_movie

*To*: mathgroup at smc.vnet.net*Subject*: [mg33038] Re: [mg33017] scatterplot3d_movie*From*: BobHanlon at aol.com*Date*: Wed, 27 Feb 2002 00:47:53 -0500 (EST)*Sender*: owner-wri-mathgroup at wolfram.com

In a message dated 2/26/02 6:01:07 AM, umprisco at unina.it writes: >I have the following script of Mathematica: > >points1 = Flatten[Table[{i, j, 5}, {i, -2, 2, 1}, {j, -2, 2, 1}], 1]; >points = Table[Transpose[Transpose[points1] - {0, 0, i}], {i, 1, 5}]; >disetot = > Table[ScatterPlot3D[points[[i]], PlotRange -> {0, 5.1}, > AxesLabel -> {X, Y, Z}, > PlotStyle -> {RGBColor[i/Dimensions[points][[1]], 0, 0], > PointSize[0.0083]},DisplayFunction -> > Identity], {i, 1, Dimensions[points][[1]]}]; >Show[disetot, > DisplayFunction -> $DisplayFunction]; > >'disetot' is a list of graphics. I would like the graphics of 'disetot' > >to >appear inside a plot in their order (disetot[[1]], disetot[[2]], >disetot[[3]], disetot[[4]] and so on...) as a movie, and export this >movie >as a file (.avi, .gif(animate), or others). How can I do? > Needs["Graphics`Graphics3D`"]; points1=Flatten[Table[{i,j,5},{i,-2,2,1},{j,-2,2,1}],1]; points=Table[Transpose[Transpose[points1]-{0,0,i}],{i,1,5}]; disetot=Table[ ScatterPlot3D[points[[i]],PlotRange->{0,5.1},AxesLabel->{"X","Y","Z"}, PlotStyle->{RGBColor[i/Dimensions[points][[1]],0,0], PointSize[0.0083]}, PlotJoined->True],{i,1, Dimensions[points][[1]]}]; I have used PlotJoined to help see the movement. To see the animation, select the output cells and animate with Cell/Animate Selected Graphics. To export, select the output cells and Edit/Save Selection As/Quicktime... Bob Hanlon Chantilly, VA USA