<?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: SGPanel: How to put the header in each graph instead of on top of each graph? in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/SGPanel-How-to-put-the-header-in-each-graph-instead-of-on-top-of/m-p/584758#M18792</link>
    <description>&lt;P&gt;You can do it like this:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc sgpanel data=myData;
panelby Name / columns=1 noheader;
histogram x / binwidth=1;
inset name / textattrs=(color=red size=14pt) separator='=';
run;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Wed, 28 Aug 2019 20:09:58 GMT</pubDate>
    <dc:creator>DanH_sas</dc:creator>
    <dc:date>2019-08-28T20:09:58Z</dc:date>
    <item>
      <title>SGPanel: How to put the header in each graph instead of on top of each graph?</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/SGPanel-How-to-put-the-header-in-each-graph-instead-of-on-top-of/m-p/584685#M18791</link>
      <description>&lt;P&gt;This is what I created:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="img0.png" style="width: 450px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/32087i3286BC79E7E8ED91/image-size/large?v=v2&amp;amp;px=999" role="button" title="img0.png" alt="img0.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;And below is what I wanted:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Expected_img0.png" style="width: 450px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/32088iE591B0317FDFAEDC/image-size/large?v=v2&amp;amp;px=999" role="button" title="Expected_img0.png" alt="Expected_img0.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;How to implement it? Thank you! Below are my codes:&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;%macro randomNormal(mean=0, stddev=1, N=100, outDS=);
	data &amp;amp;outDS.(keep=x);
		call streaminit(datetime());
		do i = 1 to &amp;amp;N;
			x = rand("NORMAL", &amp;amp;mean, &amp;amp;stddev);
			output;
		end;
	run;
%mend;

%randomNormal(mean=100, stddev=10, N=100, outDS=One);
%randomNormal(mean=15, stddev=10, N=100, outDS=Two);

data myData;
	set One(in=in1) Two(in=in2);
	if in1 then Name='One';
	if in2 then Name='Two';
run;

proc sgpanel data=myData;
panelby Name / columns=1;
histogram x / binwidth=1;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 28 Aug 2019 17:52:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/SGPanel-How-to-put-the-header-in-each-graph-instead-of-on-top-of/m-p/584685#M18791</guid>
      <dc:creator>jjjch</dc:creator>
      <dc:date>2019-08-28T17:52:23Z</dc:date>
    </item>
    <item>
      <title>Re: SGPanel: How to put the header in each graph instead of on top of each graph?</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/SGPanel-How-to-put-the-header-in-each-graph-instead-of-on-top-of/m-p/584758#M18792</link>
      <description>&lt;P&gt;You can do it like this:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc sgpanel data=myData;
panelby Name / columns=1 noheader;
histogram x / binwidth=1;
inset name / textattrs=(color=red size=14pt) separator='=';
run;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 28 Aug 2019 20:09:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/SGPanel-How-to-put-the-header-in-each-graph-instead-of-on-top-of/m-p/584758#M18792</guid>
      <dc:creator>DanH_sas</dc:creator>
      <dc:date>2019-08-28T20:09:58Z</dc:date>
    </item>
  </channel>
</rss>

