Click here to see the SAS code. 
Click here to see the SAS code (SAS 9.2 and prior). 
Click here to see the example.

I got the original idea for this gifanim from...

http://paul.kedrosky.com/archives/001298.html


For my version, I got my data from the following...

http://www.pgatour.com/stats/r
Such as...
Distance:
http://www.pgatour.com/stats/leaders/r/2005/101
Accuracy:
http://www.pgatour.com/stats/leaders/r/2005/102


I created several discrete plots, using a 'where' clause to subset
the years of data I wanted on the goplot statement, and hardcoding
the years into the title for each plot.  Also, I do a little bit of
fancy coding so that the graph looks like it chases itself, and 
also at the end I fill-in the markers and pause for a while.

I knitted together the animation using dev=gifanim.
There's a little bit of custom syntax needed to start and end 
the gifanim, and gifanims are not quite as automated as one might
wish for ... but the results are well worth the effort :)

Back to Samples Index