Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2002
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2002

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

Search the Archive

Re: scatterplot3d_movie

  • To: mathgroup at smc.vnet.net
  • Subject: [mg33031] Re: [mg32989] scatterplot3d_movie
  • From: Dale Horton <daleh at wolfram.com>
  • Date: Tue, 26 Feb 2002 04:35:27 -0500 (EST)
  • Sender: owner-wri-mathgroup at wolfram.com

At 01:38 AM 2/23/2002, Umby wrote:
>Hi MathGroup,
>
>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).
>
>Thanks, Umby

To view as a Mathematica animation,

Map[Show[#, DisplayFunction -> $DisplayFunction] &, disetot]

To export as an animated GIF,

Export["file.gif", disetot]

-Dale



  • Prev by Date: Re: Iterative application of FindRoot with adjusted started values
  • Next by Date: GraphicsArray
  • Previous by thread: scatterplot3d_movie
  • Next by thread: Re: scatterplot3d_movie