<?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 do I remove by group label in SGPLOT in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/How-do-I-remove-by-group-label-in-SGPLOT/m-p/929301#M365656</link>
    <description>&lt;P&gt;Options nobyline;&lt;/P&gt;
&lt;P&gt;should turn of the By= bits of output until you set the default Options byline;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You could turn of the label generated by the YAXIS statement with DISPLAY=(NOLABEL). Then provide the text in an annotate data set is about the only thing I can think of to only show one label for multiple graphs without going to SGPANEL.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 22 May 2024 19:39:05 GMT</pubDate>
    <dc:creator>ballardw</dc:creator>
    <dc:date>2024-05-22T19:39:05Z</dc:date>
    <item>
      <title>How do I remove by group label in SGPLOT</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-do-I-remove-by-group-label-in-SGPLOT/m-p/929300#M365655</link>
      <description>&lt;P&gt;There are two things I want (1) header font to be Times New Roman and (2) to remove the "dosegrp2=" part of the header. How can I achieve this?&lt;/P&gt;
&lt;P&gt;Less important, but is there a way to have a singular y-axis label and x-axis label?&lt;/P&gt;
&lt;P&gt;I didn't use PROC SGPANEL b/c I wanted a separate legend for each treatment group.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mariko5797_0-1716405794994.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/96675i97088C226E729583/image-size/medium?v=v2&amp;amp;px=400" role="button" title="mariko5797_0-1716405794994.png" alt="mariko5797_0-1716405794994.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ods graphics / border= off;
ods layout gridded columns= 3 advance= table;
proc sgplot data= sadpk;
 by dosegrp2;
 	series	x= t y= C	/ group= usubjid markers;
		xaxis	label= "Time (h)" 							labelattrs= (family= "&amp;amp;ffamily." size= &amp;amp;fsize. weight= bold)
				values= (0 0.5 1 2 4 6 8 12) 				valueattrs= (family= "&amp;amp;ffamily." size= &amp;amp;fsize.)
				offsetmax= 0.1;				
		yaxis 	label= "Concentration in Plasma (ng/mL)"	labelattrs= (family= "&amp;amp;ffamily." size= &amp;amp;fsize. weight= bold);
 keylegend / title= " " titleattrs= (family= "&amp;amp;ffamily." size= &amp;amp;fsize. weight= bold) 
			 across= 1 	noborder	position= topright	location= inside;
run;
ods layout end;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 22 May 2024 19:25:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-do-I-remove-by-group-label-in-SGPLOT/m-p/929300#M365655</guid>
      <dc:creator>mariko5797</dc:creator>
      <dc:date>2024-05-22T19:25:40Z</dc:date>
    </item>
    <item>
      <title>Re: How do I remove by group label in SGPLOT</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-do-I-remove-by-group-label-in-SGPLOT/m-p/929301#M365656</link>
      <description>&lt;P&gt;Options nobyline;&lt;/P&gt;
&lt;P&gt;should turn of the By= bits of output until you set the default Options byline;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You could turn of the label generated by the YAXIS statement with DISPLAY=(NOLABEL). Then provide the text in an annotate data set is about the only thing I can think of to only show one label for multiple graphs without going to SGPANEL.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 22 May 2024 19:39:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-do-I-remove-by-group-label-in-SGPLOT/m-p/929301#M365656</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2024-05-22T19:39:05Z</dc:date>
    </item>
    <item>
      <title>Re: How do I remove by group label in SGPLOT</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-do-I-remove-by-group-label-in-SGPLOT/m-p/929302#M365657</link>
      <description>&lt;P&gt;Example of removing group label — use the title statement with #byval1, and turn off the bylines&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc sort data=sashelp.class out=class;
    by sex;
run;
options nobyline;
title f='Times New Roman' "#byval1";
proc sgplot data=class;
    by sex;
    scatter x=height y=weight;
run;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I don't understand the usage of the word "singular" in your other question.&lt;/P&gt;</description>
      <pubDate>Wed, 22 May 2024 19:40:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-do-I-remove-by-group-label-in-SGPLOT/m-p/929302#M365657</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2024-05-22T19:40:30Z</dc:date>
    </item>
    <item>
      <title>Re: How do I remove by group label in SGPLOT</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-do-I-remove-by-group-label-in-SGPLOT/m-p/929303#M365658</link>
      <description>&lt;P&gt;Instead of showing a y-axis label and x-axis label for each individual plot, I was wondering if it were possible to have one x-axis and one y-axis to represent all three plots, similar to how SGPANEL may output.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 22 May 2024 19:48:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-do-I-remove-by-group-label-in-SGPLOT/m-p/929303#M365658</guid>
      <dc:creator>mariko5797</dc:creator>
      <dc:date>2024-05-22T19:48:41Z</dc:date>
    </item>
    <item>
      <title>Re: How do I remove by group label in SGPLOT</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-do-I-remove-by-group-label-in-SGPLOT/m-p/929304#M365659</link>
      <description>&lt;P&gt;I don't think there is an easy way to have one Y-axis. I don't even understand the concept of one X-axis here.&lt;/P&gt;</description>
      <pubDate>Wed, 22 May 2024 19:51:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-do-I-remove-by-group-label-in-SGPLOT/m-p/929304#M365659</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2024-05-22T19:51:48Z</dc:date>
    </item>
  </channel>
</rss>

