<?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: Changing the Destination of a Graphic in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/Changing-the-Destination-of-a-Graphic/m-p/574215#M18506</link>
    <description>Show the log.&lt;BR /&gt;&lt;BR /&gt;Turn off ODS RTF as indicated in the other post:&lt;BR /&gt;&lt;BR /&gt;ODS RTF CLOSE; *put at top of program;</description>
    <pubDate>Wed, 17 Jul 2019 15:25:19 GMT</pubDate>
    <dc:creator>Reeza</dc:creator>
    <dc:date>2019-07-17T15:25:19Z</dc:date>
    <item>
      <title>Changing the Destination of a Graphic</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Changing-the-Destination-of-a-Graphic/m-p/574137#M18503</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I am trying to create a GIF animation in SAS studio 3.8. However, I keep getting the warning:&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt; WARNING: RTF destination does not support GIF images. Using the 
          default static format.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Due to this, I am only producing the individual graphs and not the GIF. Here is my code that came from an example on SAS Blogs:&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ods html;
data stocks;
   set sashelp.stocks;
   Month = month(date);      /* 1, 2, 3, ..., 12 */
   Year = year(date);        /* 1986, 1987, ..., 2005 */
run;
 
proc sort data=stocks; by date; run;

ods graphics / imagefmt=GIF width=4in height=3in;     /* each image is 4in x 3in GIF */
options papersize=('4 in', '3 in')                    /* set size for images */
        nodate nonumber                               /* do not show date, time, or frame number */
        animduration=0.5 animloop=yes noanimoverlay   /* animation details */
        printerpath=gif animation=start;              /* start recording images to GIF */
ods printer file='C:\Users\lindsey.nelson\Gifs';  /* images saved into animated GIF */
 
ods html select none;                                /* suppress screen output */
proc sgplot data=stocks;
title "Stock Performance";
   by year;                                           /* create 20 images, one for each year */
   series x=month y=close / group=stock;              /* each image is a time series */
   xaxis integer values=(1 to 12);                         
   yaxis min=10 max=210 grid;                         /* set common vertical scale for all graphs */
run;
ods html select all;    
ods listing;                              /* restore screen output */
 
options printerpath=gif animation=stop;               /* stop recording images */
ods printer close; 
ods html close;     &lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 17 Jul 2019 11:55:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Changing-the-Destination-of-a-Graphic/m-p/574137#M18503</guid>
      <dc:creator>lindseyn</dc:creator>
      <dc:date>2019-07-17T11:55:25Z</dc:date>
    </item>
    <item>
      <title>Re: Changing the Destination of a Graphic</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Changing-the-Destination-of-a-Graphic/m-p/574215#M18506</link>
      <description>Show the log.&lt;BR /&gt;&lt;BR /&gt;Turn off ODS RTF as indicated in the other post:&lt;BR /&gt;&lt;BR /&gt;ODS RTF CLOSE; *put at top of program;</description>
      <pubDate>Wed, 17 Jul 2019 15:25:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Changing-the-Destination-of-a-Graphic/m-p/574215#M18506</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2019-07-17T15:25:19Z</dc:date>
    </item>
    <item>
      <title>Re: Changing the Destination of a Graphic</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Changing-the-Destination-of-a-Graphic/m-p/574216#M18507</link>
      <description>&lt;PRE&gt;ods printer file='C:\Users\lindsey.nelson\myMap.gif';&lt;/PRE&gt;
&lt;P&gt;You needed to give it an actual file name, such as gif.&lt;/P&gt;</description>
      <pubDate>Wed, 17 Jul 2019 15:25:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Changing-the-Destination-of-a-Graphic/m-p/574216#M18507</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2019-07-17T15:25:52Z</dc:date>
    </item>
  </channel>
</rss>

