<?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 Combining graphs on 1 page when using gplot with a by statement in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/Combining-graphs-on-1-page-when-using-gplot-with-a-by-statement/m-p/16637#M331</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here is an example of how to use ODS PDF directly to put multiple graphs on a page. I did one example using SGPLOT and the other using GCHART:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/* SG Procedure example */&lt;BR /&gt;ods pdf columns=2 startpage=no;&lt;BR /&gt;proc sort data=sashelp.prdsale out=temp; by product; run;&lt;BR /&gt;Title "Department Sales by Product";&lt;BR /&gt;proc sgplot data=temp;&lt;BR /&gt;by product;&lt;BR /&gt;hbar quarter / response=actual;&lt;BR /&gt;run;&lt;BR /&gt;ods pdf close;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/* GCHART example */&lt;BR /&gt;goptions reset=all hsize=3.5in vsize=2.5in;&lt;BR /&gt;ods pdf columns=2 startpage=no;&lt;BR /&gt;proc sort data=sashelp.prdsale out=temp; by product; run;&lt;BR /&gt;Title "Department Sales by Product";&lt;BR /&gt;proc gchart data=temp;&lt;BR /&gt;by product;&lt;BR /&gt;hbar quarter / sumvar=actual discrete nostat;&lt;BR /&gt;run;&lt;BR /&gt;ods pdf close;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 26 Sep 2011 13:59:07 GMT</pubDate>
    <dc:creator>DanH_sas</dc:creator>
    <dc:date>2011-09-26T13:59:07Z</dc:date>
    <item>
      <title>Combining graphs on 1 page when using gplot with a by statement</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Combining-graphs-on-1-page-when-using-gplot-with-a-by-statement/m-p/16635#M329</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 am trying to produce a graph output in pdf.&amp;nbsp; I am using a by statement and would like to put 4 graphs on one page.&amp;nbsp; How can I do this?&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Sep 2011 11:02:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Combining-graphs-on-1-page-when-using-gplot-with-a-by-statement/m-p/16635#M329</guid>
      <dc:creator>natanya</dc:creator>
      <dc:date>2011-09-26T11:02:29Z</dc:date>
    </item>
    <item>
      <title>Combining graphs on 1 page when using gplot with a by statement</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Combining-graphs-on-1-page-when-using-gplot-with-a-by-statement/m-p/16636#M330</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; If you were using "ods html", this would be pretty easy to do using htmlpanel ... but since you're wanting pdf output, it will be just a little harder.&amp;nbsp; You'll probably need to use "proc greplay".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here's an example, from the Graph Gallery:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://support.sas.com/kb/24/945.html"&gt;http://support.sas.com/kb/24/945.html&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Sep 2011 12:59:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Combining-graphs-on-1-page-when-using-gplot-with-a-by-statement/m-p/16636#M330</guid>
      <dc:creator>GraphGuy</dc:creator>
      <dc:date>2011-09-26T12:59:08Z</dc:date>
    </item>
    <item>
      <title>Combining graphs on 1 page when using gplot with a by statement</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Combining-graphs-on-1-page-when-using-gplot-with-a-by-statement/m-p/16637#M331</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here is an example of how to use ODS PDF directly to put multiple graphs on a page. I did one example using SGPLOT and the other using GCHART:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/* SG Procedure example */&lt;BR /&gt;ods pdf columns=2 startpage=no;&lt;BR /&gt;proc sort data=sashelp.prdsale out=temp; by product; run;&lt;BR /&gt;Title "Department Sales by Product";&lt;BR /&gt;proc sgplot data=temp;&lt;BR /&gt;by product;&lt;BR /&gt;hbar quarter / response=actual;&lt;BR /&gt;run;&lt;BR /&gt;ods pdf close;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/* GCHART example */&lt;BR /&gt;goptions reset=all hsize=3.5in vsize=2.5in;&lt;BR /&gt;ods pdf columns=2 startpage=no;&lt;BR /&gt;proc sort data=sashelp.prdsale out=temp; by product; run;&lt;BR /&gt;Title "Department Sales by Product";&lt;BR /&gt;proc gchart data=temp;&lt;BR /&gt;by product;&lt;BR /&gt;hbar quarter / sumvar=actual discrete nostat;&lt;BR /&gt;run;&lt;BR /&gt;ods pdf close;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Sep 2011 13:59:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Combining-graphs-on-1-page-when-using-gplot-with-a-by-statement/m-p/16637#M331</guid>
      <dc:creator>DanH_sas</dc:creator>
      <dc:date>2011-09-26T13:59:07Z</dc:date>
    </item>
  </channel>
</rss>

