<?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: How to convert my plots into pictures? in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/How-to-convert-my-plots-into-pictures/m-p/147226#M38991</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I suspect if you are generating HTML output and pay attention to which folder that output goes to, you will find a plethora of PNG files (basically GIF equivalents) all sequentially numbered named gplot.png, gplot2.png, ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If that location happens to be the temporary work library location don't expect them to survive as SAS shut down, but directing the HTML output to a specific location should let you control where to find them.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 19 Nov 2013 00:04:35 GMT</pubDate>
    <dc:creator>ballardw</dc:creator>
    <dc:date>2013-11-19T00:04:35Z</dc:date>
    <item>
      <title>How to convert my plots into pictures?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/How-to-convert-my-plots-into-pictures/m-p/147223#M38988</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, I have this dataset for differnet industries and different years. and I have this simple code to plot trends of industries:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc gplot data=have;&lt;/P&gt;&lt;P&gt;plot var1*year;&lt;/P&gt;&lt;P&gt;by industry;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have 18 industries, so the output gives me 18 different graph sheets. Now, I want to write a code to take all of these to a picture. So I have added this code before running the plot:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;filename output 'd:\myfile.gif';&lt;/P&gt;&lt;P&gt;goptions device=gif gsfname=output gsfmode=replace;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But, it gives me only one of the industries. My question is that, is there anyway to convert all of 18 graphs to 18 distinct pictures by a simple code?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I really appreciate your helps.&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Nov 2013 16:13:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/How-to-convert-my-plots-into-pictures/m-p/147223#M38988</guid>
      <dc:creator>Shayan2012</dc:creator>
      <dc:date>2013-11-18T16:13:29Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert my plots into pictures?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/How-to-convert-my-plots-into-pictures/m-p/147224#M38989</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;A couple of things.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PROC GREPLAY will allow you to combine the multiple plots.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you have SAS 9.3 or later, the ODS graphics and the SG procedures have a lot of the combination tools built in.&amp;nbsp; Check out&lt;/P&gt;&lt;P&gt;&lt;A class="active_link" href="http://blogs.sas.com/content/graphicallyspeaking/" title="http://blogs.sas.com/content/graphicallyspeaking/"&gt;http://blogs.sas.com/content/graphicallyspeaking/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;for some examples.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Nov 2013 17:29:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/How-to-convert-my-plots-into-pictures/m-p/147224#M38989</guid>
      <dc:creator>Doc_Duke</dc:creator>
      <dc:date>2013-11-18T17:29:27Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert my plots into pictures?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/How-to-convert-my-plots-into-pictures/m-p/147225#M38990</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, As Doc suggested, there are some very good examples on line. Here is a quick scatter plot that uses PROC SGPANEL to create a paneled plot. With only 3 values for CHOL_STATUS, the panel is small and "auto-arranged" but you can arrange the layout however you want (3 rows of 6 or 6 rows of 3) for your data. The doc shows how to get row-wise or column-wise panels.&lt;/P&gt;&lt;P&gt;Cynthia&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;ods _all_ close;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;ods listing sge=off;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;proc sgpanel data=sashelp.heart;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;&amp;nbsp; panelby chol_status;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;&amp;nbsp; scatter x=ageatdeath y=cholesterol;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;run;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Nov 2013 19:45:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/How-to-convert-my-plots-into-pictures/m-p/147225#M38990</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2013-11-18T19:45:27Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert my plots into pictures?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/How-to-convert-my-plots-into-pictures/m-p/147226#M38991</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I suspect if you are generating HTML output and pay attention to which folder that output goes to, you will find a plethora of PNG files (basically GIF equivalents) all sequentially numbered named gplot.png, gplot2.png, ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If that location happens to be the temporary work library location don't expect them to survive as SAS shut down, but directing the HTML output to a specific location should let you control where to find them.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Nov 2013 00:04:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/How-to-convert-my-plots-into-pictures/m-p/147226#M38991</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2013-11-19T00:04:35Z</dc:date>
    </item>
  </channel>
</rss>

