<?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: Overall Title for multiple SGPLOT graphs in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/Overall-Title-for-multiple-SGPLOT-graphs/m-p/249162#M9047</link>
    <description>&lt;P&gt;Thanks for this example of PDF columns and controlling PDF page breaks, to put multiple PROC SGPLOT or GTL outputs on the same PDF page.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is a much better approach than the &lt;A href="http://support.sas.com/kb/41/461.html" target="_self"&gt;rather awkward solution that SAS offer in Sample 41461&lt;/A&gt;!!&lt;/P&gt;</description>
    <pubDate>Wed, 10 Feb 2016 12:02:45 GMT</pubDate>
    <dc:creator>DDT</dc:creator>
    <dc:date>2016-02-10T12:02:45Z</dc:date>
    <item>
      <title>Overall Title for multiple SGPLOT graphs</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Overall-Title-for-multiple-SGPLOT-graphs/m-p/192282#M7118</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HI everyone,&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I managed to plot 4 sgplot graphs on a single pdf using ODS, as shown below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I would also like to provide an overall title for the 4 graphs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My attempts using proc gslide were unsuccessfull, as the title from proc gslide is just being repeated for all the graphs&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anyone have an alternative idea how to set an overall title, while at the same time use separate titles for the graphs ?&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;--&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data sample; var=1; run;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc gslide;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;title "Overall Title" ;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;options orientation = landscape;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ods graphics on / width = 5in height = 3in;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ods pdf file="C:\pdf.pdf" columns=2 startpage=never;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc sgplot data = sample;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;vbar var;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc sgplot data = sample;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;vbar var;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ods pdf startpage=now;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc sgplot data = sample;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;vbar var;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc sgplot data = sample;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;vbar var;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ods pdf close;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Mar 2014 16:17:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Overall-Title-for-multiple-SGPLOT-graphs/m-p/192282#M7118</guid>
      <dc:creator>kelloggs</dc:creator>
      <dc:date>2014-03-04T16:17:02Z</dc:date>
    </item>
    <item>
      <title>Re: Overall Title for multiple SGPLOT graphs</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Overall-Title-for-multiple-SGPLOT-graphs/m-p/192283#M7119</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Put a&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Title "This is the title I want to appear on all graphs";&lt;/P&gt;&lt;P&gt;Before the first Proc sgplot statement;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You will want to place a&lt;/P&gt;&lt;P&gt;Title;&lt;/P&gt;&lt;P&gt;after the last Proc to clear the title from appearing on other procedure results later.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Mar 2014 16:24:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Overall-Title-for-multiple-SGPLOT-graphs/m-p/192283#M7119</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2014-03-04T16:24:43Z</dc:date>
    </item>
    <item>
      <title>Re: Overall Title for multiple SGPLOT graphs</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Overall-Title-for-multiple-SGPLOT-graphs/m-p/249162#M9047</link>
      <description>&lt;P&gt;Thanks for this example of PDF columns and controlling PDF page breaks, to put multiple PROC SGPLOT or GTL outputs on the same PDF page.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is a much better approach than the &lt;A href="http://support.sas.com/kb/41/461.html" target="_self"&gt;rather awkward solution that SAS offer in Sample 41461&lt;/A&gt;!!&lt;/P&gt;</description>
      <pubDate>Wed, 10 Feb 2016 12:02:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Overall-Title-for-multiple-SGPLOT-graphs/m-p/249162#M9047</guid>
      <dc:creator>DDT</dc:creator>
      <dc:date>2016-02-10T12:02:45Z</dc:date>
    </item>
    <item>
      <title>Re: Overall Title for multiple SGPLOT graphs</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Overall-Title-for-multiple-SGPLOT-graphs/m-p/249184#M9049</link>
      <description>&lt;P&gt;You can use the ODS TEXT option to create your own exterior title. Try this simple example:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;ods _all_ close; &lt;BR /&gt;ods escapechar="~"; &lt;BR /&gt;ods pdf file="temp.pdf" startpage=never; &lt;BR /&gt;ods text="~{style [just=center fontweight=bold fontsize=14pt] This is an OVERALL title}"; &lt;BR /&gt;ods graphics / height=400px; &lt;BR /&gt;title "graph title 1"; &lt;BR /&gt;proc sgplot data=sashelp.class; &lt;BR /&gt;vbar age; &lt;BR /&gt;run; &lt;BR /&gt;title "graph title 2"; &lt;BR /&gt;proc sgplot data=sashelp.class; &lt;BR /&gt;vbar sex; &lt;BR /&gt;run; &lt;BR /&gt;ods _all_ close;&lt;BR /&gt;&lt;/SPAN&gt; &amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Feb 2016 13:40:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Overall-Title-for-multiple-SGPLOT-graphs/m-p/249184#M9049</guid>
      <dc:creator>DanH_sas</dc:creator>
      <dc:date>2016-02-10T13:40:08Z</dc:date>
    </item>
  </channel>
</rss>

