<?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 ODS HTML and ODS GRAPHICS in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-HTML-and-ODS-GRAPHICS/m-p/9797#M2960</link>
    <description>I'm a bit confuse on how to modify the name of a graphics image file. &lt;BR /&gt;
&lt;BR /&gt;
It seems like the only thing to do is to enable the IMAGENAME= option in the ods graphics statement, but it doesn't work well for me.. &lt;BR /&gt;
(ref: &lt;A href="http://support.sas.com/rnd/app/da/stat/odsgraph/faq.html)" target="_blank"&gt;http://support.sas.com/rnd/app/da/stat/odsgraph/faq.html)&lt;/A&gt;&lt;BR /&gt;
&lt;BR /&gt;
Would that be the problem that I use ODS HTML at the same time?&lt;BR /&gt;
&lt;BR /&gt;
The following is my code:&lt;BR /&gt;
ods html path  = "C:\QA2" &lt;BR /&gt;
         gpath = "C:\QA2\gif" (url="gif/") &lt;BR /&gt;
         file  = "test.htm";&lt;BR /&gt;
&lt;BR /&gt;
ods graphics on / 	imagename = "MyName"&lt;BR /&gt;
		imagefmt = png;&lt;BR /&gt;
&lt;BR /&gt;
proc gplot;&lt;BR /&gt;
...&lt;BR /&gt;
plot statement;&lt;BR /&gt;
...&lt;BR /&gt;
quit;&lt;BR /&gt;
&lt;BR /&gt;
ods graphics off;&lt;BR /&gt;
ods html close;&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
With this code, I was able to save the output in HTML format in C:\QA2 as well as graphics file (named gplot.png) in C:\QA2\gif. I was hoping the IMAGENAME option would change the name to MyName.png and save it at C:\QA2\gif. Am I missing something? &lt;BR /&gt;
&lt;BR /&gt;
Thanks!!</description>
    <pubDate>Mon, 23 Mar 2009 21:40:48 GMT</pubDate>
    <dc:creator>deleted_user</dc:creator>
    <dc:date>2009-03-23T21:40:48Z</dc:date>
    <item>
      <title>ODS HTML and ODS GRAPHICS</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-HTML-and-ODS-GRAPHICS/m-p/9797#M2960</link>
      <description>I'm a bit confuse on how to modify the name of a graphics image file. &lt;BR /&gt;
&lt;BR /&gt;
It seems like the only thing to do is to enable the IMAGENAME= option in the ods graphics statement, but it doesn't work well for me.. &lt;BR /&gt;
(ref: &lt;A href="http://support.sas.com/rnd/app/da/stat/odsgraph/faq.html)" target="_blank"&gt;http://support.sas.com/rnd/app/da/stat/odsgraph/faq.html)&lt;/A&gt;&lt;BR /&gt;
&lt;BR /&gt;
Would that be the problem that I use ODS HTML at the same time?&lt;BR /&gt;
&lt;BR /&gt;
The following is my code:&lt;BR /&gt;
ods html path  = "C:\QA2" &lt;BR /&gt;
         gpath = "C:\QA2\gif" (url="gif/") &lt;BR /&gt;
         file  = "test.htm";&lt;BR /&gt;
&lt;BR /&gt;
ods graphics on / 	imagename = "MyName"&lt;BR /&gt;
		imagefmt = png;&lt;BR /&gt;
&lt;BR /&gt;
proc gplot;&lt;BR /&gt;
...&lt;BR /&gt;
plot statement;&lt;BR /&gt;
...&lt;BR /&gt;
quit;&lt;BR /&gt;
&lt;BR /&gt;
ods graphics off;&lt;BR /&gt;
ods html close;&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
With this code, I was able to save the output in HTML format in C:\QA2 as well as graphics file (named gplot.png) in C:\QA2\gif. I was hoping the IMAGENAME option would change the name to MyName.png and save it at C:\QA2\gif. Am I missing something? &lt;BR /&gt;
&lt;BR /&gt;
Thanks!!</description>
      <pubDate>Mon, 23 Mar 2009 21:40:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-HTML-and-ODS-GRAPHICS/m-p/9797#M2960</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2009-03-23T21:40:48Z</dc:date>
    </item>
    <item>
      <title>Re: ODS HTML and ODS GRAPHICS</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-HTML-and-ODS-GRAPHICS/m-p/9798#M2961</link>
      <description>PROC GPLOT is not a statistical graphics procedure, and thus doesn't honor the ODS GRAPHICS statement.  With SAS 9.2, the new PROC SGPLOT is production.  It does honor the ODS GRAPHICS statement.  (In fact, you don't even have to specify ODS GRAPHICS if you're happy with its defaults.)&lt;BR /&gt;
&lt;BR /&gt;
You can learn about PROC SGPLOT here:&lt;BR /&gt;
&lt;BR /&gt;
  &lt;A href="http://support.sas.com/documentation/cdl/en/grstatproc/61948/HTML/default/sgplot-chap.htm" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/grstatproc/61948/HTML/default/sgplot-chap.htm&lt;/A&gt;&lt;BR /&gt;
&lt;BR /&gt;
-- David Kelley, SAS</description>
      <pubDate>Tue, 24 Mar 2009 13:09:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-HTML-and-ODS-GRAPHICS/m-p/9798#M2961</guid>
      <dc:creator>David_SAS</dc:creator>
      <dc:date>2009-03-24T13:09:01Z</dc:date>
    </item>
    <item>
      <title>Re: ODS HTML and ODS GRAPHICS</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-HTML-and-ODS-GRAPHICS/m-p/9799#M2962</link>
      <description>And, for regular SAS/Graph procedures, most procedures support the NAME= option which would be the name that is used by SAS/Graph to assign a name to your file (other than GPLOT1, GPLOT2, etc)&lt;BR /&gt;
&lt;BR /&gt;
If you look in the SAS/Graph documentation for your procedure of choice, you can see how and where the NAME= option goes.&lt;BR /&gt;
 &lt;BR /&gt;
cynthia</description>
      <pubDate>Tue, 24 Mar 2009 13:21:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-HTML-and-ODS-GRAPHICS/m-p/9799#M2962</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2009-03-24T13:21:12Z</dc:date>
    </item>
    <item>
      <title>Re: ODS HTML and ODS GRAPHICS</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-HTML-and-ODS-GRAPHICS/m-p/9800#M2963</link>
      <description>Thanks for the suggestions. I see both methods are useful, i enjoy exploring different ways to meet the same goal.&lt;BR /&gt;
&lt;BR /&gt;
Also, when I tried to customized the plot, it seems like PROC GPLOT can be a better tool if the graph is fairly straight forward with fewer items to customized. Because we can simply specify the AXIS statement in order to modify the axis label, position, angle, major and minor ticks and etc. But if for PROC SGPLOT, we need to do it by changing the default template in PROC TEMPLATE.</description>
      <pubDate>Tue, 24 Mar 2009 15:19:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-HTML-and-ODS-GRAPHICS/m-p/9800#M2963</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2009-03-24T15:19:43Z</dc:date>
    </item>
    <item>
      <title>Re: ODS HTML and ODS GRAPHICS</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-HTML-and-ODS-GRAPHICS/m-p/9801#M2964</link>
      <description>Hi:&lt;BR /&gt;
  Actually, if you look at the documentation, you will see that SGPLOT, in particular has several AXIS statements that you can use without venturing into Graph Templates.&lt;BR /&gt;
cynthia&lt;BR /&gt;
&lt;A href="http://support.sas.com/documentation/cdl/en/grstatproc/61948/HTML/default/xaxis-stmt.htm" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/grstatproc/61948/HTML/default/xaxis-stmt.htm&lt;/A&gt;</description>
      <pubDate>Tue, 24 Mar 2009 23:57:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-HTML-and-ODS-GRAPHICS/m-p/9801#M2964</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2009-03-24T23:57:39Z</dc:date>
    </item>
    <item>
      <title>Re: ODS HTML and ODS GRAPHICS</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-HTML-and-ODS-GRAPHICS/m-p/9802#M2965</link>
      <description>That's very good tips. I must have missed that part. &lt;BR /&gt;
&lt;BR /&gt;
Thanks!</description>
      <pubDate>Wed, 25 Mar 2009 13:53:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-HTML-and-ODS-GRAPHICS/m-p/9802#M2965</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2009-03-25T13:53:39Z</dc:date>
    </item>
  </channel>
</rss>

