<?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: editing the title in a graph in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/editing-the-title-in-a-graph/m-p/774504#M22155</link>
    <description>&lt;P&gt;You have two options:&lt;/P&gt;
&lt;P&gt;1. Keep the code you have and add the NOHEADER option to the PANELBY statement.&lt;/P&gt;
&lt;P&gt;2. Since you're generating one cell per graph, you can use SGPLOT with a BY statement to generate this output instead. SGPLOT has options for creating uniform axes across BY-groups. You would also want to use the statement "OPTIONS NOBYLINE;" (before the procedure) to suppress the BY-line, as you have the information you want in your title.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope this helps!&lt;/P&gt;
&lt;P&gt;Dan&lt;/P&gt;</description>
    <pubDate>Fri, 15 Oct 2021 14:24:06 GMT</pubDate>
    <dc:creator>DanH_sas</dc:creator>
    <dc:date>2021-10-15T14:24:06Z</dc:date>
    <item>
      <title>editing the title in a graph</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/editing-the-title-in-a-graph/m-p/774429#M22153</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;
&lt;P&gt;I am using the below code to draw a frequency distribution/histogram and getting the graphs as in the attachment. I don't know how I can&lt;/P&gt;
&lt;P&gt;remove the "cluster=1" or "1" title above the graphs. I am drawing these graphs per cluster but I don't want that information since I am indicating it in the title.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SGPanel96.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/64750iB311C731715DE07D/image-size/large?v=v2&amp;amp;px=999" role="button" title="SGPanel96.png" alt="SGPanel96.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SGPlot.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/64749i6F2C50FA4F971364/image-size/large?v=v2&amp;amp;px=999" role="button" title="SGPlot.png" alt="SGPlot.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;
%macro graphs2(g, p,r,a);
 
ods graphics / width=400px height=250px;
proc sgpanel data = &amp;amp;g._gr_&amp;amp;a. ;
title "Scale Score: &amp;amp;p &amp;amp;r.";

panelby cluster / columns = 1 rows=1  uniscale = column novarname;
histogram   &amp;amp;g._scale_score  /  transparency=0.25 fillattrs=(color=black)   ;
label &amp;amp;g._scale_score= 'Scale Score'; 
rowaxis label= 'Count'; 
colaxis  values=(910 to 945 by 5) valueshint;
	   run;

ods graphics / width=400px height=250px;
proc sort data=&amp;amp;g._gr_&amp;amp;a. ;
 by cluster;
run;

proc sgplot data=&amp;amp;g._gr_&amp;amp;a. PCTLEVEL=BY;
title "Proficiency Level:&amp;amp;p &amp;amp;r.";
vbar &amp;amp;g._pl / stat=pct  transparency=0.25 fillattrs=(color=black)  ;
yaxis label= 'Percent' ;
xaxis label= 'Proficiency Level';
 by cluster;
run;

%mend;
%graphs2 (listening,List,1-2,1);&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 15 Oct 2021 05:30:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/editing-the-title-in-a-graph/m-p/774429#M22153</guid>
      <dc:creator>dustychair</dc:creator>
      <dc:date>2021-10-15T05:30:05Z</dc:date>
    </item>
    <item>
      <title>Re: editing the title in a graph</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/editing-the-title-in-a-graph/m-p/774430#M22154</link>
      <description>&lt;P&gt;Have you tried&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;options nobyline;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;?&lt;/P&gt;</description>
      <pubDate>Fri, 15 Oct 2021 07:12:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/editing-the-title-in-a-graph/m-p/774430#M22154</guid>
      <dc:creator>andreas_lds</dc:creator>
      <dc:date>2021-10-15T07:12:16Z</dc:date>
    </item>
    <item>
      <title>Re: editing the title in a graph</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/editing-the-title-in-a-graph/m-p/774504#M22155</link>
      <description>&lt;P&gt;You have two options:&lt;/P&gt;
&lt;P&gt;1. Keep the code you have and add the NOHEADER option to the PANELBY statement.&lt;/P&gt;
&lt;P&gt;2. Since you're generating one cell per graph, you can use SGPLOT with a BY statement to generate this output instead. SGPLOT has options for creating uniform axes across BY-groups. You would also want to use the statement "OPTIONS NOBYLINE;" (before the procedure) to suppress the BY-line, as you have the information you want in your title.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope this helps!&lt;/P&gt;
&lt;P&gt;Dan&lt;/P&gt;</description>
      <pubDate>Fri, 15 Oct 2021 14:24:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/editing-the-title-in-a-graph/m-p/774504#M22155</guid>
      <dc:creator>DanH_sas</dc:creator>
      <dc:date>2021-10-15T14:24:06Z</dc:date>
    </item>
    <item>
      <title>Re: editing the title in a graph</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/editing-the-title-in-a-graph/m-p/774577#M22156</link>
      <description>That worked! Thank you so much!</description>
      <pubDate>Fri, 15 Oct 2021 17:12:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/editing-the-title-in-a-graph/m-p/774577#M22156</guid>
      <dc:creator>dustychair</dc:creator>
      <dc:date>2021-10-15T17:12:49Z</dc:date>
    </item>
  </channel>
</rss>

