<?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 Set Graph size in ODS Excel in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Set-Graph-size-in-ODS-Excel/m-p/457590#M29477</link>
    <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would like to set the size of my graphs in ODS Excel.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The current out put sizes the graphs to 9.87cm x 14.99cm (3.88inch x 5.9inch)&lt;/P&gt;&lt;P&gt;I would like to set the graphs to 17cm x 26cm (6.6inch x 10.2inch)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have used&amp;nbsp; both of the below to no avail.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;ods graphics on / width=8in&amp;nbsp; height=4in;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;goptions vsize=10cm hsize=20cm&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;%let DateVAR =&amp;nbsp; %sysfunc(intnx(day,%sysfunc(today()),-1),yymmddn8.);&lt;BR /&gt;ods excel file="/test/Testa&amp;amp;DateVAR..XLSX";&lt;BR /&gt;ODS EXCEL OPTIONS (EMBEDDED_Titles="YES" sheet_Interval="NONE");&lt;BR /&gt;ODS Excel Options (embedded_Titles="YES") NOGTITLE NOGFOOTNOTE;&lt;BR /&gt;ods graphics on / width=8in&amp;nbsp; height=4in;&lt;BR /&gt;ods excel options(sheet_name='Overall');&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Proc SGPLOT data=test;&lt;BR /&gt;&amp;nbsp;Series x=Date y=successful / lineattrs=(color=blue thickness=3) Legendlabel='Successful';&lt;BR /&gt;&amp;nbsp;Series x=Date y=Unsuccessful / lineattrs=(color=RED&amp;nbsp; thickness=3) Legendlabel='Un&lt;SPAN&gt;Successful&lt;/SPAN&gt;';&lt;BR /&gt;&amp;nbsp;yaxis display=(noline noticks) grid values=(0 to 325000 by 25000) offsetmin=0 label='Count';&lt;BR /&gt;&amp;nbsp;Format Successful Un&lt;SPAN&gt;Successful&lt;/SPAN&gt; comma9.;&lt;BR /&gt;&amp;nbsp;RUN;&lt;BR /&gt;&lt;BR /&gt;&lt;/PRE&gt;&lt;P&gt;Any help in resizing the graphs is appreciated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Dean&lt;/P&gt;</description>
    <pubDate>Thu, 26 Apr 2018 01:23:29 GMT</pubDate>
    <dc:creator>DME790</dc:creator>
    <dc:date>2018-04-26T01:23:29Z</dc:date>
    <item>
      <title>Set Graph size in ODS Excel</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Set-Graph-size-in-ODS-Excel/m-p/457590#M29477</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would like to set the size of my graphs in ODS Excel.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The current out put sizes the graphs to 9.87cm x 14.99cm (3.88inch x 5.9inch)&lt;/P&gt;&lt;P&gt;I would like to set the graphs to 17cm x 26cm (6.6inch x 10.2inch)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have used&amp;nbsp; both of the below to no avail.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;ods graphics on / width=8in&amp;nbsp; height=4in;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;goptions vsize=10cm hsize=20cm&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;%let DateVAR =&amp;nbsp; %sysfunc(intnx(day,%sysfunc(today()),-1),yymmddn8.);&lt;BR /&gt;ods excel file="/test/Testa&amp;amp;DateVAR..XLSX";&lt;BR /&gt;ODS EXCEL OPTIONS (EMBEDDED_Titles="YES" sheet_Interval="NONE");&lt;BR /&gt;ODS Excel Options (embedded_Titles="YES") NOGTITLE NOGFOOTNOTE;&lt;BR /&gt;ods graphics on / width=8in&amp;nbsp; height=4in;&lt;BR /&gt;ods excel options(sheet_name='Overall');&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Proc SGPLOT data=test;&lt;BR /&gt;&amp;nbsp;Series x=Date y=successful / lineattrs=(color=blue thickness=3) Legendlabel='Successful';&lt;BR /&gt;&amp;nbsp;Series x=Date y=Unsuccessful / lineattrs=(color=RED&amp;nbsp; thickness=3) Legendlabel='Un&lt;SPAN&gt;Successful&lt;/SPAN&gt;';&lt;BR /&gt;&amp;nbsp;yaxis display=(noline noticks) grid values=(0 to 325000 by 25000) offsetmin=0 label='Count';&lt;BR /&gt;&amp;nbsp;Format Successful Un&lt;SPAN&gt;Successful&lt;/SPAN&gt; comma9.;&lt;BR /&gt;&amp;nbsp;RUN;&lt;BR /&gt;&lt;BR /&gt;&lt;/PRE&gt;&lt;P&gt;Any help in resizing the graphs is appreciated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Dean&lt;/P&gt;</description>
      <pubDate>Thu, 26 Apr 2018 01:23:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Set-Graph-size-in-ODS-Excel/m-p/457590#M29477</guid>
      <dc:creator>DME790</dc:creator>
      <dc:date>2018-04-26T01:23:29Z</dc:date>
    </item>
    <item>
      <title>Re: Set Graph size in ODS Excel</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Set-Graph-size-in-ODS-Excel/m-p/554370#M33587</link>
      <description>&lt;P&gt;I ran into this issue today.&amp;nbsp; It looks like SAS writes pages to excel to fit the default&amp;nbsp;destination&amp;nbsp;print size.&amp;nbsp; I changed the output orientation and papersize to a format that better fit my needs as follows:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;options&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="3"&gt;orientation&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;=LANDSCAPE; &lt;/FONT&gt;&lt;FONT color="#008000" face="Courier New" size="3"&gt;/* LANDSCAPE/PORTRAIT */&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;options&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="3"&gt;papersize&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;=legal; &lt;/FONT&gt;&lt;FONT color="#008000" face="Courier New" size="3"&gt;/* LETTER is 11 X 8.5, LEGAL is 14 X 8.5 */&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 26 Apr 2019 18:59:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Set-Graph-size-in-ODS-Excel/m-p/554370#M33587</guid>
      <dc:creator>JamesM1962</dc:creator>
      <dc:date>2019-04-26T18:59:17Z</dc:date>
    </item>
  </channel>
</rss>

