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

Innovate_SAS_Blue.png

Registration is open! SAS is returning to Vegas for an AI and analytics experience like no other! Whether you're an executive, manager, end user or SAS partner, SAS Innovate is designed for everyone on your team. Register for just $495 by 12/31/2023.

If you are interested in speaking, there is still time to submit a session idea. More details are posted on the website. 

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.

Get the $99 certification deal.jpg

 

 

Back in the Classroom!

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

View all other training opportunities.

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