<?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: Multiple figures on one page and a common name? in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/Multiple-figures-on-one-page-and-a-common-name/m-p/37586#M1200</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;With regards to GPLOT you may find this example useful.&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>Wed, 25 Jan 2012 13:23:27 GMT</pubDate>
    <dc:creator>data_null__</dc:creator>
    <dc:date>2012-01-25T13:23:27Z</dc:date>
    <item>
      <title>Multiple figures on one page and a common name?</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Multiple-figures-on-one-page-and-a-common-name/m-p/37583#M1197</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, there:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I wonder if I can plot multiple figures on one page with a common title and common legends. The ideal figure I want to generate is to compare outcome from different models. They are doing essentially the same thing but the result could be different. I learned that greplay can put different figures together, but each figure has individual title and legends. That makes the graph too busy, in addtion, the title and legends overlap with each other in the final outcome, which makes the graph pretty ugly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a sample code or sample template that I can follow?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jan 2012 20:12:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Multiple-figures-on-one-page-and-a-common-name/m-p/37583#M1197</guid>
      <dc:creator>bigbigben</dc:creator>
      <dc:date>2012-01-24T20:12:11Z</dc:date>
    </item>
    <item>
      <title>Multiple figures on one page and a common name?</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Multiple-figures-on-one-page-and-a-common-name/m-p/37584#M1198</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There are a *LOT* of possibilities; but I've put together a little example that has two chart, with independent axes, a common legend, titles for each cell, and an overall title. Let me know ifyou have any questions about it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps!&lt;/P&gt;&lt;P&gt;Dan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE lang="SAS"&gt;proc template;
define statgraph barcharts;
&amp;nbsp; begingraph;
&amp;nbsp;&amp;nbsp;&amp;nbsp; EntryTitle "A Big Overall Title";
&amp;nbsp;&amp;nbsp;&amp;nbsp; EntryTitle "and a subtitle";
&amp;nbsp;&amp;nbsp;&amp;nbsp; layout lattice / columns=2;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; cell;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; cellheader;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Entry "Average Height";
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; endcellheader;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; layout overlay;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; barchart x=age y=height / stat=mean group=sex name="bar1";
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; endlayout;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; endcell;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; cell;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; cellheader;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Entry "Average Weight";
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; endcellheader;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; layout overlay;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; barchart x=age y=weight / stat=mean group=sex name="bar2";
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; endlayout;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; endcell;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sidebar / align=bottom spacefill=false;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; discretelegend "bar1" / title="Gender";
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; endsidebar;
&amp;nbsp;&amp;nbsp;&amp;nbsp; endlayout;
&amp;nbsp; endgraph;
end;

proc sgrender data=sashelp.class template=barcharts; run;
&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jan 2012 20:38:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Multiple-figures-on-one-page-and-a-common-name/m-p/37584#M1198</guid>
      <dc:creator>DanH_sas</dc:creator>
      <dc:date>2012-01-24T20:38:22Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple figures on one page and a common name?</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Multiple-figures-on-one-page-and-a-common-name/m-p/37585#M1199</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Since you mention Proc Greplay, I'll elaborate on that a little...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can suppress the titles on the individual graphs by giving them blank title statements:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;title;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And you can use Proc Gslide to create a blank page with the main/overall title, and overlay it with the rest using proc greplay.&amp;nbsp; You can either use title statements on the gslide, or you can annotate the text for more control.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is an example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://robslink.com/SAS/democd15/scen3b.htm"&gt;http://robslink.com/SAS/democd15/scen3b.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And here is a whole page of similar samples (along with the SAS code):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://robslink.com/SAS/dashboards/aaaindex.htm"&gt;http://robslink.com/SAS/dashboards/aaaindex.htm&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Jan 2012 13:15:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Multiple-figures-on-one-page-and-a-common-name/m-p/37585#M1199</guid>
      <dc:creator>GraphGuy</dc:creator>
      <dc:date>2012-01-25T13:15:16Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple figures on one page and a common name?</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Multiple-figures-on-one-page-and-a-common-name/m-p/37586#M1200</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;With regards to GPLOT you may find this example useful.&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>Wed, 25 Jan 2012 13:23:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Multiple-figures-on-one-page-and-a-common-name/m-p/37586#M1200</guid>
      <dc:creator>data_null__</dc:creator>
      <dc:date>2012-01-25T13:23:27Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple figures on one page and a common name?</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Multiple-figures-on-one-page-and-a-common-name/m-p/37587#M1201</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi ... another idea that works with PDF output&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you can arrange output on a page with GOPTIONS and HSIZE, VSIZE, HORIGIN, and VORIGIN plus the STARTPAGE=NEVER option in ODS&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;once you have the PDF output, if you can do a screen capture, you can make a bit-mapped version (e.g. PNG)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: 'courier new', courier;"&gt;proc sort data=sashelp.cars out=cars;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: 'courier new', courier;"&gt;by horsepower;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: 'courier new', courier;"&gt;run;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: 'courier new', courier;"&gt;ods pdf file='z:\plots.pdf' startpage=never notoc;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: 'courier new', courier;"&gt;ods listing close;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: 'courier new', courier;"&gt;ods results off;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: 'courier new', courier;"&gt;goptions reset=all ftext='calibri' htext=2 gunit=pct ;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: 'courier new', courier;"&gt;* no axis labels;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: 'courier new', courier;"&gt;axis1 label=none order=10 to 50 by 5 minor=(n=4);&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: 'courier new', courier;"&gt;axis2 label=none order=50 to 400 by 50 minor=(n=5);&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: 'courier new', courier;"&gt;* a nice looking DOT plus a spline;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: 'courier new', courier;"&gt;symbol1 f='wingdings' v='l' h=2 i=smp90 w=2;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: 'courier new', courier;"&gt;* some white space around plots;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: 'courier new', courier;"&gt;title1 ls=2;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: 'courier new', courier;"&gt;title2 a=90 ls=2;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: 'courier new', courier;"&gt;title3 a=-90 ls=2;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: 'courier new', courier;"&gt;goptions hsize=4in vsize=5in;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: 'courier new', courier;"&gt;proc gplot data=cars;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: 'courier new', courier;"&gt;goptions horigin=0in vorigin=0in;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: 'courier new', courier;"&gt;where type eq 'SUV';&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: 'courier new', courier;"&gt;footnote1 ls=2 h=3 'SUV';&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: 'courier new', courier;"&gt;plot mpg_highway*horsepower / noframe vaxis=axis1 haxis=axis2;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: 'courier new', courier;"&gt;run;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: 'courier new', courier;"&gt;goptions vorigin=5.5in;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: 'courier new', courier;"&gt;where type eq 'Truck';&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: 'courier new', courier;"&gt;footnote1 ls=2 h=3 'TRUCK';&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: 'courier new', courier;"&gt;plot mpg_highway*horsepower / noframe vaxis=axis1 haxis=axis2;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: 'courier new', courier;"&gt;run;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: 'courier new', courier;"&gt;goptions horigin=4.25in;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: 'courier new', courier;"&gt;where type eq 'Sedan';&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: 'courier new', courier;"&gt;footnote1 ls=2 h=3 'SEDAN';&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: 'courier new', courier;"&gt;plot mpg_highway*horsepower / noframe vaxis=axis1 haxis=axis2;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: 'courier new', courier;"&gt;run;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: 'courier new', courier;"&gt;quit;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: 'courier new', courier;"&gt;goptions vorigin=0in;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: 'courier new', courier;"&gt;footnote1 ls=2;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: 'courier new', courier;"&gt;proc gslide;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: 'courier new', courier;"&gt;note h=5&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: 'courier new', courier;"&gt;j=c 'DATA SET SASHELP.CARS'&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: 'courier new', courier;"&gt;j=c h=3&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: 'courier new', courier;"&gt;j=c 'PLOTS OF MPG(HIGHWAY) VS HORSEPOWER'&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: 'courier new', courier;"&gt;j=c '&amp;lt;more stuff&amp;gt;'&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: 'courier new', courier;"&gt;;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: 'courier new', courier;"&gt;run;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: 'courier new', courier;"&gt;quit;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: 'courier new', courier;"&gt;ods pdf close;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: 'courier new', courier;"&gt;ods listing;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: 'courier new', courier;"&gt;ods results;&lt;/STRONG&gt;&lt;/P&gt;&lt;BR /&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/11282i6D0838776FA8C4C6/image-size/large?v=1.0&amp;amp;px=600" border="0" alt="plots.png" title="plots.png" /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Jan 2012 17:26:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Multiple-figures-on-one-page-and-a-common-name/m-p/37587#M1201</guid>
      <dc:creator>MikeZdeb</dc:creator>
      <dc:date>2012-01-25T17:26:01Z</dc:date>
    </item>
  </channel>
</rss>

