<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Animated Heat Map in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/Animated-Heat-Map/m-p/165300#M6183</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did you create the graph using GPLOT or GTL?&amp;nbsp; If GTL, you can use the RangeAttributeMap such that it will be consistent for all the values across all the time steps.&amp;nbsp; This is what I alluded to in my earlier reply.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 10 Feb 2014 23:32:55 GMT</pubDate>
    <dc:creator>Jay54</dc:creator>
    <dc:date>2014-02-10T23:32:55Z</dc:date>
    <item>
      <title>Animated Heat Map</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Animated-Heat-Map/m-p/165295#M6178</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have count data for an X-Y coordinate system over time. I would like to display it using a heat map that is an animated gif file where the animation scrolls thru the time axes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I found this example (as well as a bunch of others):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="active_link" href="http://support.sas.com/documentation/cdl/en/grstatgraph/65377/HTML/default/viewer.htm#p0gf6kx2u9fewen12i3tx32e99ce.htm"&gt;http://support.sas.com/documentation/cdl/en/grstatgraph/65377/HTML/default/viewer.htm#p0gf6kx2u9fewen12i3tx32e99ce.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I have been unable to get it to produce an animated GIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this even possible?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And if so, any suggestions on how to make it work?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If not, any other suggested approaches to do this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TIA,&lt;/P&gt;&lt;P&gt;Don H&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Feb 2014 15:22:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Animated-Heat-Map/m-p/165295#M6178</guid>
      <dc:creator>DonH</dc:creator>
      <dc:date>2014-02-06T15:22:20Z</dc:date>
    </item>
    <item>
      <title>Re: Animated Heat Map</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Animated-Heat-Map/m-p/165296#M6179</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I guess this is a 2-part question.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For the first part, exactly what would you like your "heat map" to look like? Could you show an example?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For the 2nd part (animation), here are several examples:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="active_link" href="http://robslink.com/SAS/democd27/aaaindex.htm" title="http://robslink.com/SAS/democd27/aaaindex.htm"&gt;Robert Allison's SAS/Graph Samples!&amp;lt;/title&amp;gt;&amp;lt;link rel=File-List href="index_files/filelist.xml"&amp;gt;&amp;lt;link rel=Edit-Time-Data href="index_files/editdata.mso"&amp;gt;&amp;lt;!--[if !mso]&amp;gt;&amp;lt;style&amp;gt;v\:* {behavior:url(#default#VML);}o\:* {behavior:url(#default#VML);}w\:* {behavior:url(#default#VML);}.shape {behavior:url(#default#VML);}&amp;lt;/style&amp;gt;&amp;lt;![endif]--&amp;gt;&amp;lt;title&amp;gt; &lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also note that in 9.4, the syntax for creating gif animations was made simpler ... so if you've got 9.4, then you can take advantage of that &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://communities.sas.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://robslink.com/SAS/democd62/new_94_sas.htm#simpler" title="http://robslink.com/SAS/democd62/new_94_sas.htm#simpler"&gt;Robert Allison's What's New in V9.4 SAS/GRAPH...&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Feb 2014 15:28:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Animated-Heat-Map/m-p/165296#M6179</guid>
      <dc:creator>GraphGuy</dc:creator>
      <dc:date>2014-02-06T15:28:29Z</dc:date>
    </item>
    <item>
      <title>Re: Animated Heat Map</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Animated-Heat-Map/m-p/165297#M6180</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="http://blogs.sas.com/content/graphicallyspeaking/2013/05/23/animation-using-sgplot/" title="http://blogs.sas.com/content/graphicallyspeaking/2013/05/23/animation-using-sgplot/"&gt; &lt;/A&gt;See my &lt;A href="http://blogs.sas.com/content/graphicallyspeaking/2013/05/23/animation-using-sgplot/"&gt;blog article&lt;/A&gt; on gif animatiion using SGPLOT.&amp;nbsp; You can use GTL and SGRENDER for the graphics part for heatmap.&amp;nbsp; The animation code will be similar.&lt;/P&gt;&lt;P&gt;Note, to keep the color mappings constant through the animation, I suggest using the RangeAttrMap to control the mapping of color to response values..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://blogs.sas.com/content/graphicallyspeaking/2013/05/23/animation-using-sgplot/"&gt;http://blogs.sas.com/content/graphicallyspeaking/2013/05/23/animation-using-sgplot/&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Feb 2014 15:38:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Animated-Heat-Map/m-p/165297#M6180</guid>
      <dc:creator>Jay54</dc:creator>
      <dc:date>2014-02-06T15:38:52Z</dc:date>
    </item>
    <item>
      <title>Re: Animated Heat Map</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Animated-Heat-Map/m-p/165298#M6181</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Robert and Sanjay. These look like they will do exactly what I want.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And Rob, I do have 9.4 and so I can take advantage of the simpler syntax. In looking at both of your responses I recognize that my attempts did not work as I was using &lt;EM&gt;Jurassic&lt;/EM&gt; SAS/Graph options to try and do this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a fair amount of data management work to do before I have the data for this. Now that I know I can do an animated heat map the structure of the output data set will likely be tweaked a bit.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will post an example of the output once I have gotten things working.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks to both of you for your incredibly helpful and quick responses.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Don H&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Feb 2014 16:05:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Animated-Heat-Map/m-p/165298#M6181</guid>
      <dc:creator>DonH</dc:creator>
      <dc:date>2014-02-06T16:05:45Z</dc:date>
    </item>
    <item>
      <title>Re: Animated Heat Map</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Animated-Heat-Map/m-p/165299#M6182</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sanjay/Rob,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope you don't mind another question. Using the template code from the line in my original question, and with the changes you both suggested, I now am able to produce an animated gif (attached). It got it to work both with a by variable as well as via macro looping.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is geospatial (latitude X longitude buckets) over time. Latitude and Longitude are the x,y coordinates and time is the by variable. I would like to have the same colorresponse shown regardless of the by group. But I can't see how to do that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it possible to do that? And if so, can you point me in the right direction?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TIA,&lt;/P&gt;&lt;P&gt;Don H.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PS, in the editor, the animation of the gif file is used. But once the message was posted it was gone. If you want to see the animation you have to right click and open in new window.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="4910" alt="GeoSpatial.gif" class="jive-image-thumbnail jive-image" src="https://communities.sas.com/legacyfs/online/4910_GeoSpatial.gif" width="450" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Feb 2014 22:35:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Animated-Heat-Map/m-p/165299#M6182</guid>
      <dc:creator>DonH</dc:creator>
      <dc:date>2014-02-10T22:35:43Z</dc:date>
    </item>
    <item>
      <title>Re: Animated Heat Map</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Animated-Heat-Map/m-p/165300#M6183</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did you create the graph using GPLOT or GTL?&amp;nbsp; If GTL, you can use the RangeAttributeMap such that it will be consistent for all the values across all the time steps.&amp;nbsp; This is what I alluded to in my earlier reply.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Feb 2014 23:32:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Animated-Heat-Map/m-p/165300#M6183</guid>
      <dc:creator>Jay54</dc:creator>
      <dc:date>2014-02-10T23:32:55Z</dc:date>
    </item>
    <item>
      <title>Re: Animated Heat Map</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Animated-Heat-Map/m-p/165301#M6184</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I used GTL and I think I must have confused RangeAttributeMap with another option as what I looked at appeared to be for discrete values instead of continuous ones. I found the doc for RangeAttributeMap and it looks like it will do what I need.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thx again!!!!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Feb 2014 23:40:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Animated-Heat-Map/m-p/165301#M6184</guid>
      <dc:creator>DonH</dc:creator>
      <dc:date>2014-02-10T23:40:01Z</dc:date>
    </item>
    <item>
      <title>Re: Animated Heat Map</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Animated-Heat-Map/m-p/165302#M6185</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, GTL also has a DiscreteAttributesMap.&amp;nbsp; &lt;img id="smileywink" class="emoticon emoticon-smileywink" src="https://communities.sas.com/i/smilies/16x16_smiley-wink.png" alt="Smiley Wink" title="Smiley Wink" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Feb 2014 23:53:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Animated-Heat-Map/m-p/165302#M6185</guid>
      <dc:creator>Jay54</dc:creator>
      <dc:date>2014-02-10T23:53:33Z</dc:date>
    </item>
  </channel>
</rss>

