BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.

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 😞

https://communities.sas.com/t5/SAS-Communities-Library/How-to-Create-an-Animated-BarChart-using-SGPl...

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
GraphGuy
Meteorite | Level 14

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

 

View solution in original post

4 REPLIES 4
Rick_SAS
SAS Super FREQ

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.

GraphGuy
Meteorite | Level 14

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

 

Reeza
Super User

Thanks everyone. I get 9.4 in a month so it can wait. It looks like a really cool feature. 

sas-innovate-white.png

Register Today!

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.

Register now!

How to Concatenate Values

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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 4 replies
  • 1594 views
  • 5 likes
  • 4 in conversation