<?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: cboxfill for histogram in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/cboxfill-for-histogram/m-p/522882#M17589</link>
    <description>&lt;P&gt;How about something like this?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;title "Cholesterol by Weight Status";
proc sgpanel data=heart noautolegend;
panelby weight_status / novarname columns=1;
histogram cholesterol / group=weight_status;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;IMG src="http://drummer.unx.sas.com:36547/results/sastmp/SAS_work5A8200002520_drummer/SGPanel5.png" border="0" alt="The SGPanel Procedure" /&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 20 Dec 2018 15:27:47 GMT</pubDate>
    <dc:creator>DanH_sas</dc:creator>
    <dc:date>2018-12-20T15:27:47Z</dc:date>
    <item>
      <title>cboxfill for histogram</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/cboxfill-for-histogram/m-p/522820#M17587</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to generate various histograms using the by statement and assign different colors to each histogram. Is there a method analogous to proc boxplot's cvref which works?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I mean something similar to the below code:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ods select Histogram;
proc univariate data=Simon4;
	histogram IL6A / cboxfill=MF_IL6                 
		midpoints =0 50 100 150 200 250 300;
	var IL6A;
	by Gruppe;
run;&lt;BR /&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;where "MF_IL6" is variable giving the colors for different by groups.&lt;/P&gt;</description>
      <pubDate>Thu, 20 Dec 2018 09:37:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/cboxfill-for-histogram/m-p/522820#M17587</guid>
      <dc:creator>romangelzhaeuse</dc:creator>
      <dc:date>2018-12-20T09:37:01Z</dc:date>
    </item>
    <item>
      <title>Re: cboxfill for histogram</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/cboxfill-for-histogram/m-p/522882#M17589</link>
      <description>&lt;P&gt;How about something like this?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;title "Cholesterol by Weight Status";
proc sgpanel data=heart noautolegend;
panelby weight_status / novarname columns=1;
histogram cholesterol / group=weight_status;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;IMG src="http://drummer.unx.sas.com:36547/results/sastmp/SAS_work5A8200002520_drummer/SGPanel5.png" border="0" alt="The SGPanel Procedure" /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 20 Dec 2018 15:27:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/cboxfill-for-histogram/m-p/522882#M17589</guid>
      <dc:creator>DanH_sas</dc:creator>
      <dc:date>2018-12-20T15:27:47Z</dc:date>
    </item>
  </channel>
</rss>

