<?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 mark the average value on the boxplot in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/how-to-mark-the-average-value-on-the-boxplot/m-p/917876#M361565</link>
    <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data have;
 set sashelp.heart;
 keep status bp_status  weight;
run;




proc summary data=have nway;
class status bp_status; 
var weight;    
output out=temp mean=mean;
run;
data want;
 set have temp;
run;
proc sgplot data=want noautolegend ;
Vbox weight / category=status group=bp_status boxwidth=0.8 
  capshape=none meanattrs=(symbol=diamond size=12);
scatter x=status y=mean /group=bp_status groupdisplay=cluster clusterwidth=0.7
   datalabel=mean datalabelattrs=(color=black) markerattrs=(size=0)  ;
xaxis display=(nolabel) ;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Ksharp_0-1708934155804.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/94121iDE60F5FA92191FAD/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Ksharp_0-1708934155804.png" alt="Ksharp_0-1708934155804.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 26 Feb 2024 07:56:04 GMT</pubDate>
    <dc:creator>Ksharp</dc:creator>
    <dc:date>2024-02-26T07:56:04Z</dc:date>
    <item>
      <title>how to mark the average value on the boxplot</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-mark-the-average-value-on-the-boxplot/m-p/917872#M361563</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hi,&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;I want to know how to mark the average value on the boxplot.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Here is the phrase I wrote. How can I change it?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;FONT color="#0000FF"&gt;Proc sgplot data&lt;/FONT&gt; = A ;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp;&lt;FONT color="#0000FF"&gt;Vbox&lt;/FONT&gt; scr1 / &lt;FONT color="#0000FF"&gt;categorty&lt;/FONT&gt;=cd &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &lt;FONT color="#0000FF"&gt;&amp;nbsp;group&lt;/FONT&gt;= cd &lt;FONT color="#0000FF"&gt;boxwidth&lt;/FONT&gt;=0.8&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &lt;FONT color="#0000FF"&gt;&amp;nbsp;capshape&lt;/FONT&gt;=none &lt;FONT color="#0000FF"&gt;meanattrs=(symbol&lt;/FONT&gt;=diamond &lt;FONT color="#0000FF"&gt;size&lt;/FONT&gt;=12);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp;&lt;FONT color="#0000FF"&gt;axis colo&lt;/FONT&gt;r=black &lt;FONT color="#0000FF"&gt;width&lt;/FONT&gt;=20;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;run&lt;/FONT&gt;;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for appreciate!&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;</description>
      <pubDate>Mon, 26 Feb 2024 07:16:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-mark-the-average-value-on-the-boxplot/m-p/917872#M361563</guid>
      <dc:creator>daun_14</dc:creator>
      <dc:date>2024-02-26T07:16:30Z</dc:date>
    </item>
    <item>
      <title>Re: how to mark the average value on the boxplot</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-mark-the-average-value-on-the-boxplot/m-p/917876#M361565</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data have;
 set sashelp.heart;
 keep status bp_status  weight;
run;




proc summary data=have nway;
class status bp_status; 
var weight;    
output out=temp mean=mean;
run;
data want;
 set have temp;
run;
proc sgplot data=want noautolegend ;
Vbox weight / category=status group=bp_status boxwidth=0.8 
  capshape=none meanattrs=(symbol=diamond size=12);
scatter x=status y=mean /group=bp_status groupdisplay=cluster clusterwidth=0.7
   datalabel=mean datalabelattrs=(color=black) markerattrs=(size=0)  ;
xaxis display=(nolabel) ;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Ksharp_0-1708934155804.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/94121iDE60F5FA92191FAD/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Ksharp_0-1708934155804.png" alt="Ksharp_0-1708934155804.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 26 Feb 2024 07:56:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-mark-the-average-value-on-the-boxplot/m-p/917876#M361565</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2024-02-26T07:56:04Z</dc:date>
    </item>
  </channel>
</rss>

