goptions reset=all; /** Create the HTML file that will display the **/ /** GIF animation. **/ data _null_; file 'smile.htm'; put ''; put ''; put '
'; put '

'; put ''; put ''; /* Designate a GIF file for the GMAP output. */ filename animmap 'smile.gif'; /** Set the GOPTIONs necessary for the **/ /** animation. **/ goption reset dev=gifanim gsfname=animmap xpixels=792 ypixels=600 transparency iteration=4 delay=3 disposal=background; /* iteration=0 (which is the default) would repeat the animation endlessly */ goptions hsize=8in vsize=7in; filename smiley1 'smile1.txt'; filename smiley2 'smile2.txt'; /* For the first graph, gsfmode=replace... */ goption gsfmode=replace; proc gprint fileref=smiley1; run; /* For the next few graphs, gsfmode=append... */ goption gsfmode=append; proc gprint fileref=smiley2; run; proc gprint fileref=smiley1; run; quit;