<?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: SGPLOT hbar with the number of observations for each group displayed? in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/SGPLOT-hbar-with-the-number-of-observations-for-each-group/m-p/606193#M76558</link>
    <description>&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/31304"&gt;@PeterClemmensen&lt;/a&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks! That works well for me!</description>
    <pubDate>Thu, 21 Nov 2019 16:43:50 GMT</pubDate>
    <dc:creator>braam</dc:creator>
    <dc:date>2019-11-21T16:43:50Z</dc:date>
    <item>
      <title>SGPLOT hbar with the number of observations for each group displayed?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/SGPLOT-hbar-with-the-number-of-observations-for-each-group/m-p/606172#M76555</link>
      <description>&lt;P&gt;Can I add the frequency for each group (MAKE) in the below plot? I can generate the plot to check the distribution by MAKE, but I would like to display the exact number of observations (for each MAKE).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ods graphics/height=800px;&lt;BR /&gt;proc sgplot data=sashelp.cars; &lt;BR /&gt;hbar make;&lt;BR /&gt;yaxis display=all fitpolicy=none;&lt;BR /&gt;run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Nov 2019 15:38:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/SGPLOT-hbar-with-the-number-of-observations-for-each-group/m-p/606172#M76555</guid>
      <dc:creator>braam</dc:creator>
      <dc:date>2019-11-21T15:38:55Z</dc:date>
    </item>
    <item>
      <title>Re: SGPLOT hbar with the number of observations for each group displayed?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/SGPLOT-hbar-with-the-number-of-observations-for-each-group/m-p/606177#M76556</link>
      <description>&lt;P&gt;Sorry for the bad display of the code. The below is the same as in the main posting.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ods graphics/height=800px;
proc sgplot data=sashelp.cars; 
hbar make;
yaxis display=all fitpolicy=none;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 21 Nov 2019 15:57:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/SGPLOT-hbar-with-the-number-of-observations-for-each-group/m-p/606177#M76556</guid>
      <dc:creator>braam</dc:creator>
      <dc:date>2019-11-21T15:57:08Z</dc:date>
    </item>
    <item>
      <title>Re: SGPLOT hbar with the number of observations for each group displayed?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/SGPLOT-hbar-with-the-number-of-observations-for-each-group/m-p/606187#M76557</link>
      <description>&lt;P&gt;Small correction:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ods graphics/height=800px;
proc sgplot data=sashelp.cars; 
hbar make / datalabel;
yaxis display=all fitpolicy=none;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 21 Nov 2019 16:30:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/SGPLOT-hbar-with-the-number-of-observations-for-each-group/m-p/606187#M76557</guid>
      <dc:creator>PeterClemmensen</dc:creator>
      <dc:date>2019-11-21T16:30:00Z</dc:date>
    </item>
    <item>
      <title>Re: SGPLOT hbar with the number of observations for each group displayed?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/SGPLOT-hbar-with-the-number-of-observations-for-each-group/m-p/606193#M76558</link>
      <description>&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/31304"&gt;@PeterClemmensen&lt;/a&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks! That works well for me!</description>
      <pubDate>Thu, 21 Nov 2019 16:43:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/SGPLOT-hbar-with-the-number-of-observations-for-each-group/m-p/606193#M76558</guid>
      <dc:creator>braam</dc:creator>
      <dc:date>2019-11-21T16:43:50Z</dc:date>
    </item>
    <item>
      <title>Re: SGPLOT hbar with the number of observations for each group displayed?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/SGPLOT-hbar-with-the-number-of-observations-for-each-group/m-p/606199#M76559</link>
      <description>&lt;P&gt;Again, your suggestion worked well for the example I posted.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Then I applied it to my own dataset and SAS tells me the below warning:&lt;/P&gt;
&lt;PRE&gt;WARNING: The data labels are suppressed. Use DATALABELFITPOLICY=NONE to force the labels to be
         displayed.
&lt;/PRE&gt;
&lt;P&gt;When I added&amp;nbsp;DATALABELFITPOLICY=NONE in my code, it works well. Do you know why this option is needed only for some cases?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Nov 2019 16:48:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/SGPLOT-hbar-with-the-number-of-observations-for-each-group/m-p/606199#M76559</guid>
      <dc:creator>braam</dc:creator>
      <dc:date>2019-11-21T16:48:44Z</dc:date>
    </item>
  </channel>
</rss>

