<?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: How to Place Two graphs in on Page ( RTF) using PROC TEMPLATE in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/How-to-Place-Two-graphs-in-on-Page-RTF-using-PROC-TEMPLATE/m-p/786004#M22429</link>
    <description>&lt;P&gt;I'm not sure what you intend to do.&lt;BR /&gt;Can you clarify what you mean 'border'? For instance by indicating in the image which 'border' you would like to remove.&lt;/P&gt;</description>
    <pubDate>Tue, 14 Dec 2021 15:09:25 GMT</pubDate>
    <dc:creator>JosvanderVelden</dc:creator>
    <dc:date>2021-12-14T15:09:25Z</dc:date>
    <item>
      <title>How to Place Two graphs in on Page ( RTF) using PROC TEMPLATE</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/How-to-Place-Two-graphs-in-on-Page-RTF-using-PROC-TEMPLATE/m-p/785582#M22426</link>
      <description>&lt;P&gt;I am learning PROC TEMPLATE, I am trying to place two graphs in one page.&amp;nbsp; I am placing two issues.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1. I would like to avoid the border around the both graphs so that it looks&amp;nbsp; like one Image. I tried turning off the borders.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;
 data orci;
 input effect$ OR LCL UCL;
 cards;
 AGE 1.05 1.01 1.09
 BEC 1.00 0.98 1.02
 IVHX 0.70 0.54 0.89
 DRUTX 0.94 0.90 0.99
 RACE 1.26 0.81 1.95
 TREAT 1.54 1.04 2.27
 SITE 1.13 0.74 1.72
 ;
 RUN;
 data orci;
 set orci;
 or1= round(or,0.1);
 lcl1= round(lcl,0.1);
 ucl1= round(ucl,0.1);
 run;

 
ods path(prepend) work.templat(update);
ods graphics on/border=off;
proc template;
	define statgraph forest;
		begingraph/BORDER=off;
			layout lattice / columns = 2  rowgutter=10 columngutter=10;
	cell;
	cellheader;
	endcellheader;
		layout overlay / xaxisopts=(label='xxI' linearopts=( viewmin=0 viewmax=2))
 			yaxisopts=(label='xx');
 			scatterplot x=OR1 y=EFFECT / xerrorlower= LCL1	 xerrorupper= ucl1
 			markerattrs=  (symbol=circlefilled  COLOR=red size=8);
		 referenceline x=1 ;
	endlayout;
	endcell;

	cell;
	cellheader;
	endcellheader;
		layout overlay / xaxisopts=(label='xxI' linearopts=( viewmin=0 viewmax=2))
 			yaxisopts=(label='xx');
 			scatterplot x=OR1 y=EFFECT / xerrorlower= LCL1	 xerrorupper= ucl1
 			markerattrs=  (symbol=circlefilled  COLOR=green size=8);
		 referenceline x=1 ;
	endlayout;
	endlayout;
	endcell;
endgraph;
end;
run;

ods graphics on/ width= 8in height= 4in border=off   ;
options orientation = landscape errors = 2 missing = ' ' nofmterr ls = 175 validvarname = upcase nofmterr nobyline 
noquotelenmax ;
ods results on; 
ods listing close; 
ods rtf file = "\Graphs\xx.rtf"
						nogtitle nogfootnote;
proc sgrender data=orci template="forest";
run; 
ods _all_ close;
ods graphics off;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;This is the output I am getting.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SASuserlot_0-1639245474730.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/66669i5138FEC3BED10F1F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="SASuserlot_0-1639245474730.png" alt="SASuserlot_0-1639245474730.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 12 Dec 2021 01:29:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/How-to-Place-Two-graphs-in-on-Page-RTF-using-PROC-TEMPLATE/m-p/785582#M22426</guid>
      <dc:creator>SASuserlot</dc:creator>
      <dc:date>2021-12-12T01:29:09Z</dc:date>
    </item>
    <item>
      <title>Re: How to Place Two graphs in on Page ( RTF) using PROC TEMPLATE</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/How-to-Place-Two-graphs-in-on-Page-RTF-using-PROC-TEMPLATE/m-p/786004#M22429</link>
      <description>&lt;P&gt;I'm not sure what you intend to do.&lt;BR /&gt;Can you clarify what you mean 'border'? For instance by indicating in the image which 'border' you would like to remove.&lt;/P&gt;</description>
      <pubDate>Tue, 14 Dec 2021 15:09:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/How-to-Place-Two-graphs-in-on-Page-RTF-using-PROC-TEMPLATE/m-p/786004#M22429</guid>
      <dc:creator>JosvanderVelden</dc:creator>
      <dc:date>2021-12-14T15:09:25Z</dc:date>
    </item>
  </channel>
</rss>

