<?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 how to save ods graphics in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/how-to-save-ods-graphics/m-p/754278#M237824</link>
    <description>&lt;P&gt;Inspired by the answer to my &lt;A href="https://communities.sas.com/t5/SAS-Programming/output-white-test-in-dataset/td-p/754096?emcs_t=S2h8ZW1haWx8c29sdXRpb25fdG9fcXVlc3Rpb258S1I0UTEzQUdBNTJJV0N8NzU0MDk4fEFDQ0VQVEVEX1NPTFVUSU9OU3xoSw" target="_self"&gt;previous question&lt;/A&gt;, I was wondering how to save the graphics produced by ODS, e.g. the DiagnosticsPanel produced by PROC REG. Can I turn it into a png and save it to my C drive?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Dimitri&lt;/P&gt;</description>
    <pubDate>Thu, 15 Jul 2021 11:45:37 GMT</pubDate>
    <dc:creator>drdee</dc:creator>
    <dc:date>2021-07-15T11:45:37Z</dc:date>
    <item>
      <title>how to save ods graphics</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-save-ods-graphics/m-p/754278#M237824</link>
      <description>&lt;P&gt;Inspired by the answer to my &lt;A href="https://communities.sas.com/t5/SAS-Programming/output-white-test-in-dataset/td-p/754096?emcs_t=S2h8ZW1haWx8c29sdXRpb25fdG9fcXVlc3Rpb258S1I0UTEzQUdBNTJJV0N8NzU0MDk4fEFDQ0VQVEVEX1NPTFVUSU9OU3xoSw" target="_self"&gt;previous question&lt;/A&gt;, I was wondering how to save the graphics produced by ODS, e.g. the DiagnosticsPanel produced by PROC REG. Can I turn it into a png and save it to my C drive?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Dimitri&lt;/P&gt;</description>
      <pubDate>Thu, 15 Jul 2021 11:45:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-save-ods-graphics/m-p/754278#M237824</guid>
      <dc:creator>drdee</dc:creator>
      <dc:date>2021-07-15T11:45:37Z</dc:date>
    </item>
    <item>
      <title>Re: how to save ods graphics</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-save-ods-graphics/m-p/754316#M237842</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/339452"&gt;@drdee&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I think PNG is the default format and C:\Users\&lt;EM&gt;username&lt;/EM&gt; the default path. But in any case you can specify the format in the &lt;A href="https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/odsproc/p0kroq43yu0lspn16hk1u4c65lti.htm" target="_blank" rel="noopener"&gt;ODS GRAPHICS&lt;/A&gt; statement and the path in the ODS destination statement (i.e. &lt;A href="https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/odsug/n1lyhxs0ue101in1snowd4cdd15q.htm" target="_blank" rel="noopener"&gt;ODS LISTING&lt;/A&gt;, &lt;A href="https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/odsug/n0f5s1zezthhbrn1u0z71mh3wx64.htm" target="_blank" rel="noopener"&gt;ODS HTML&lt;/A&gt;, etc.). See these links for more options, e.g., to specify the file name, the image resolution, height, width, etc.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Example:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ods graphics on / imagefmt=png;
ods listing gpath='C:\Temp'; /* or: ods html gpath='C:\Temp'; */&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;A subsequent PROC REG step would then (by default) create DiagnosticsPanel.png and ResidualPlot.png (possibly with a numeric suffix added to the names to make them unique) in C:\Temp.&lt;/P&gt;</description>
      <pubDate>Thu, 15 Jul 2021 13:09:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-save-ods-graphics/m-p/754316#M237842</guid>
      <dc:creator>FreelanceReinh</dc:creator>
      <dc:date>2021-07-15T13:09:57Z</dc:date>
    </item>
    <item>
      <title>Re: how to save ods graphics</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-save-ods-graphics/m-p/754691#M238052</link>
      <description>Many thanks!</description>
      <pubDate>Fri, 16 Jul 2021 22:53:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-save-ods-graphics/m-p/754691#M238052</guid>
      <dc:creator>drdee</dc:creator>
      <dc:date>2021-07-16T22:53:19Z</dc:date>
    </item>
  </channel>
</rss>

