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-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

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