<?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 Getting consistent color scheme with freqplot option in PROC FREQ in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Getting-consistent-color-scheme-with-freqplot-option-in-PROC/m-p/202618#M306067</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have created a format using Proc Format for a particular variable. There are 9 values that the variable can take on, so I assign 9 different formats. &lt;/P&gt;&lt;P&gt;I then do a Proc Freq and specify&lt;STRONG&gt; / plots = freqplot(twoway=stacked scale=grouppct)&lt;/STRONG&gt; after the &lt;STRONG&gt;tables&lt;/STRONG&gt; statement to create stacked bar charts.&lt;/P&gt;&lt;P&gt;For some of the plots that are created, data exists for all 9 different formats and I like this, but for some of the plots, the data underlying the plot only has perhaps&lt;/P&gt;&lt;P&gt;7 or 8 types from the proc format. The color scheme for the plots with all 9 types of formats is different from the color scheme for plots with only, say 7 or 8&lt;/P&gt;&lt;P&gt;types of the format. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I ensure that the color scheme is consistent across the plots? Can I force proc freq to plot all 9 of the formats, thereby ensuring that the color scheme &lt;/P&gt;&lt;P&gt;is consistent? Or is there a better way to do this? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you so much!&lt;/P&gt;&lt;P&gt;Sebastian Tilson &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 16 Mar 2015 19:59:12 GMT</pubDate>
    <dc:creator>sgtilson18</dc:creator>
    <dc:date>2015-03-16T19:59:12Z</dc:date>
    <item>
      <title>Getting consistent color scheme with freqplot option in PROC FREQ</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Getting-consistent-color-scheme-with-freqplot-option-in-PROC/m-p/202618#M306067</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have created a format using Proc Format for a particular variable. There are 9 values that the variable can take on, so I assign 9 different formats. &lt;/P&gt;&lt;P&gt;I then do a Proc Freq and specify&lt;STRONG&gt; / plots = freqplot(twoway=stacked scale=grouppct)&lt;/STRONG&gt; after the &lt;STRONG&gt;tables&lt;/STRONG&gt; statement to create stacked bar charts.&lt;/P&gt;&lt;P&gt;For some of the plots that are created, data exists for all 9 different formats and I like this, but for some of the plots, the data underlying the plot only has perhaps&lt;/P&gt;&lt;P&gt;7 or 8 types from the proc format. The color scheme for the plots with all 9 types of formats is different from the color scheme for plots with only, say 7 or 8&lt;/P&gt;&lt;P&gt;types of the format. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I ensure that the color scheme is consistent across the plots? Can I force proc freq to plot all 9 of the formats, thereby ensuring that the color scheme &lt;/P&gt;&lt;P&gt;is consistent? Or is there a better way to do this? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you so much!&lt;/P&gt;&lt;P&gt;Sebastian Tilson &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Mar 2015 19:59:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Getting-consistent-color-scheme-with-freqplot-option-in-PROC/m-p/202618#M306067</guid>
      <dc:creator>sgtilson18</dc:creator>
      <dc:date>2015-03-16T19:59:12Z</dc:date>
    </item>
    <item>
      <title>Re: Getting consistent color scheme with freqplot option in PROC FREQ</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Getting-consistent-color-scheme-with-freqplot-option-in-PROC/m-p/202619#M306068</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think I've found the answer: this paper by Erin Christen titled "PROC FORMAT is Our Friend" has a section titled "ZERO-FILLING (AKA ‘DUMMYING UP’) OUTPUT DISPLAY" that solves this problem. Thanks to anyone who considered this question.&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.lexjansen.com/pharmasug/2006/Tutorials/TU02.pdf" title="http://www.lexjansen.com/pharmasug/2006/Tutorials/TU02.pdf"&gt;http://www.lexjansen.com/pharmasug/2006/Tutorials/TU02.pdf&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Mar 2015 16:24:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Getting-consistent-color-scheme-with-freqplot-option-in-PROC/m-p/202619#M306068</guid>
      <dc:creator>sgtilson18</dc:creator>
      <dc:date>2015-03-17T16:24:39Z</dc:date>
    </item>
  </channel>
</rss>

