Click here to see the SAS code.
Click here to see the example.

---------------------------------------------------------------

See my blog for more information!


Background info:
http://astro.uchicago.edu/cosmus/projects/UCLA_GCG/

Data file:
http://astro.uchicago.edu/cosmus/projects/UCLA_GCG/stars13.dat

This example demonstrates how to create a gif animation (gifanim), 
plotting the multiple graphs/frames using a 'by' statement.

There are also a few 'tricks' being used - for example ...

Since you can't control the axes in G3D scatter, I calculate some
data points and insert them into every 'by' statement of the data,
so the graph will always be drawn to the same scale.

Also, I read the data directly from the web, which is kinda neat :)

Back to Samples Index