<?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: Making a graph fill the pdf document in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/Making-a-graph-fill-the-pdf-document/m-p/171571#M6350</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can set the size of a graph in the ods graphics options:&lt;/P&gt;&lt;P&gt;ods graphics / reset=all height=10cm width=50cm noborder;&lt;/P&gt;&lt;P&gt;options orientation=landscape;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the above I use cm, but you can use various different measurements. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 08 Apr 2014 08:10:40 GMT</pubDate>
    <dc:creator>RW9</dc:creator>
    <dc:date>2014-04-08T08:10:40Z</dc:date>
    <item>
      <title>Making a graph fill the pdf document</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Making-a-graph-fill-the-pdf-document/m-p/171570#M6349</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;I have a graph generated from sas and I am looking to make it fill more of the pdf document, which it is presented in.&lt;/P&gt;&lt;P&gt;I have attacted the file, and would like it to fil more of the doucment, since there is a lot of empty space.&lt;/P&gt;&lt;P&gt;But I am not quite sure on how to do so, so I was hoping for some help.&lt;/P&gt;&lt;P&gt;Here is the relevant code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OPTIONS ORIENTATION=LANDSCAPE NODATE nobyline; /*nobyline fjerner automatisk genereret by linie*/&lt;/P&gt;&lt;P&gt;ODS PDF File = "F:xx.pdf "&amp;nbsp; STYLE=sasWeb;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc sgplot data=Have;*noautolegend;&lt;/P&gt;&lt;P&gt;hbar NodeName / response=Variable/*stat=sum*/ nostatlabel datalabel &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; discreteoffset=-0.2 barwidth=0.4 fillattrs=(color=VIGB) name="A";&lt;/P&gt;&lt;P&gt;hbar NodeName / response=AfkastATD_BM /*stat=sum*/ nostatlabel datalabel &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; discreteoffset=+0.25 barwidth=0.4 fillattrs=(color=VLIYG) name="B";&lt;/P&gt;&lt;P&gt;yaxis grid label='Aktiver' values=(1 to 10 by 1);&lt;/P&gt;&lt;P&gt;keylegend "Afkast" "BM" /across=2&amp;nbsp; down=1 location=outside&amp;nbsp; position=topleft title="" ; &lt;/P&gt;&lt;P&gt;label AfkastATD_NodeName = "A"&lt;/P&gt;&lt;P&gt;AfkastATD_BM = "B";&lt;/P&gt;&lt;P&gt;TITLE FONT='Times' BOLD COLOR=BLACK HEIGHT=1.5 "xxx ";&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;TITLE; FOOTNOTE;&lt;/P&gt;&lt;P&gt;GOPTIONS RESET=ALL;&lt;/P&gt;&lt;P&gt;ODS PDF CLOSE;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Apr 2014 07:56:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Making-a-graph-fill-the-pdf-document/m-p/171570#M6349</guid>
      <dc:creator>Bruce123</dc:creator>
      <dc:date>2014-04-08T07:56:25Z</dc:date>
    </item>
    <item>
      <title>Re: Making a graph fill the pdf document</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Making-a-graph-fill-the-pdf-document/m-p/171571#M6350</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can set the size of a graph in the ods graphics options:&lt;/P&gt;&lt;P&gt;ods graphics / reset=all height=10cm width=50cm noborder;&lt;/P&gt;&lt;P&gt;options orientation=landscape;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the above I use cm, but you can use various different measurements. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Apr 2014 08:10:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Making-a-graph-fill-the-pdf-document/m-p/171571#M6350</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2014-04-08T08:10:40Z</dc:date>
    </item>
    <item>
      <title>Re: Making a graph fill the pdf document</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Making-a-graph-fill-the-pdf-document/m-p/171572#M6351</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey&lt;/P&gt;&lt;P&gt;Thanks, your suggestion solved my problem.&lt;/P&gt;&lt;P&gt;Thank you for your help &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://communities.sas.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Apr 2014 08:48:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Making-a-graph-fill-the-pdf-document/m-p/171572#M6351</guid>
      <dc:creator>Bruce123</dc:creator>
      <dc:date>2014-04-08T08:48:59Z</dc:date>
    </item>
  </channel>
</rss>

