Does anyone know if there's a way to create an animated chart in SAS 9.3?
I see examples for SAS 9.4 but I'm stuck on 9.3 for a few more months 😞
Yes old (and new) versions of SAS can indeed 'stitch' the graphs together into a gif animation! 🙂
Actually, I have updated many of the examples in democd27 to use the 'new' gif animation syntax.
But I do still have some of the code around that can create gif animations using the 'old' syntax.
For example, if you go to democd27, and click the text/link ('crime rate animation') under the first image thumbnail,
you'll see that it has a code link with '(old style syntax)' beside of it - this was code I originally used in SAS 9.2.
Hope this helps!
Robert
I might be able to help. In general, animation requires that you create a series of plots (as GIF or PNG) with sequential names such as
Anim1.png thru Anim100.png.
I don't think SAS 9.3 had the capabillity to stitch the images together, but you can do that step outside of SAS.I recommend an animation utility called GiftedMotion, which is a free Java program. That utility enables you to create an animated GIF from the individual images.
Here's one
http://robslink.com/SAS/democd58/starmap_info.htm
Or just text
http://robslink.com/SAS/democd56/sas_data_wars_crawl_info.htm
And a page of examples dating to SAS 9.2
Yes old (and new) versions of SAS can indeed 'stitch' the graphs together into a gif animation! 🙂
Actually, I have updated many of the examples in democd27 to use the 'new' gif animation syntax.
But I do still have some of the code around that can create gif animations using the 'old' syntax.
For example, if you go to democd27, and click the text/link ('crime rate animation') under the first image thumbnail,
you'll see that it has a code link with '(old style syntax)' beside of it - this was code I originally used in SAS 9.2.
Hope this helps!
Robert
Thanks everyone. I get 9.4 in a month so it can wait. It looks like a really cool feature.
Join us for SAS Innovate 2025, our biggest and most exciting global event of the year, in Orlando, FL, from May 6-9.
Early bird rate extended! Save $200 when you sign up by March 31.
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.