<?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: BOXPLOTS in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/BOXPLOTS/m-p/448871#M112912</link>
    <description>&lt;P&gt;Are you sure you want to do this at template level?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Why not just change the color directly in an SGPLOT Procedure? You can control the colors of the individual parts like this&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc sgplot data=sashelp.heart;
    vbox cholesterol / category=deathcause fillattrs=(color=green) 
                                           lineattrs=(color=black)
                                           whiskerattrs=(color=blue)
                                           meanattrs=(color=red)
                                           medianattrs=(color=red)
                                           outlierattrs=(color=purple);
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 27 Mar 2018 06:37:31 GMT</pubDate>
    <dc:creator>PeterClemmensen</dc:creator>
    <dc:date>2018-03-27T06:37:31Z</dc:date>
    <item>
      <title>BOXPLOTS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/BOXPLOTS/m-p/448862#M112909</link>
      <description>&lt;P&gt;How to change colours&amp;nbsp;in boxplot&lt;/P&gt;&lt;P&gt;proc template;&lt;BR /&gt;define statgraph classbox;&lt;BR /&gt;begingraph / designwidth=700px designheight=450px backgroundcolor=CXE8E6E8;&lt;BR /&gt;layout overlay;&lt;BR /&gt;boxplot y=&amp;amp;var1 x=tmt/group=ANALYTE_FULL name='box' ;&lt;/P&gt;&lt;P&gt;endlayout;&lt;BR /&gt;endgraph;&lt;BR /&gt;end;&lt;BR /&gt;run;&lt;/P&gt;</description>
      <pubDate>Tue, 27 Mar 2018 05:57:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/BOXPLOTS/m-p/448862#M112909</guid>
      <dc:creator>Vahe_Mar</dc:creator>
      <dc:date>2018-03-27T05:57:42Z</dc:date>
    </item>
    <item>
      <title>Re: BOXPLOTS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/BOXPLOTS/m-p/448871#M112912</link>
      <description>&lt;P&gt;Are you sure you want to do this at template level?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Why not just change the color directly in an SGPLOT Procedure? You can control the colors of the individual parts like this&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc sgplot data=sashelp.heart;
    vbox cholesterol / category=deathcause fillattrs=(color=green) 
                                           lineattrs=(color=black)
                                           whiskerattrs=(color=blue)
                                           meanattrs=(color=red)
                                           medianattrs=(color=red)
                                           outlierattrs=(color=purple);
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 27 Mar 2018 06:37:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/BOXPLOTS/m-p/448871#M112912</guid>
      <dc:creator>PeterClemmensen</dc:creator>
      <dc:date>2018-03-27T06:37:31Z</dc:date>
    </item>
    <item>
      <title>Re: BOXPLOTS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/BOXPLOTS/m-p/448904#M112918</link>
      <description>this is changing both</description>
      <pubDate>Tue, 27 Mar 2018 08:58:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/BOXPLOTS/m-p/448904#M112918</guid>
      <dc:creator>Vahe_Mar</dc:creator>
      <dc:date>2018-03-27T08:58:35Z</dc:date>
    </item>
    <item>
      <title>Re: BOXPLOTS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/BOXPLOTS/m-p/448906#M112920</link>
      <description>&lt;P&gt;Both what? What do you want to change?&lt;/P&gt;</description>
      <pubDate>Tue, 27 Mar 2018 09:02:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/BOXPLOTS/m-p/448906#M112920</guid>
      <dc:creator>PeterClemmensen</dc:creator>
      <dc:date>2018-03-27T09:02:35Z</dc:date>
    </item>
    <item>
      <title>Re: BOXPLOTS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/BOXPLOTS/m-p/448908#M112922</link>
      <description>SAS giving automatically two colours blue and red, so i want change colours firs red after blue</description>
      <pubDate>Tue, 27 Mar 2018 09:03:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/BOXPLOTS/m-p/448908#M112922</guid>
      <dc:creator>Vahe_Mar</dc:creator>
      <dc:date>2018-03-27T09:03:20Z</dc:date>
    </item>
    <item>
      <title>Re: BOXPLOTS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/BOXPLOTS/m-p/448914#M112926</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please let know which part of Box need a Color update is required.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 27 Mar 2018 09:26:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/BOXPLOTS/m-p/448914#M112926</guid>
      <dc:creator>DR_Majeti</dc:creator>
      <dc:date>2018-03-27T09:26:45Z</dc:date>
    </item>
    <item>
      <title>Re: BOXPLOTS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/BOXPLOTS/m-p/448923#M112932</link>
      <description>&lt;P&gt;I think you are asking about changing the colors that are associated with the groups in the GROUP= option.&lt;/P&gt;
&lt;P&gt;You can use the STLEATTRS statement to set those values.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;See&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://blogs.sas.com/content/graphicallyspeaking/2013/07/14/setting-graph-colors-is-easier-with-sas-9-4/" target="_blank"&gt;https://blogs.sas.com/content/graphicallyspeaking/2013/07/14/setting-graph-colors-is-easier-with-sas-9-4/&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;or if you are not using SAS 9.4, see&lt;/P&gt;
&lt;P&gt;&lt;A href="https://blogs.sas.com/content/iml/2012/10/17/specify-the-colors-of-groups-in-sas-statistical-graphics.html" target="_blank"&gt;https://blogs.sas.com/content/iml/2012/10/17/specify-the-colors-of-groups-in-sas-statistical-graphics.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 27 Mar 2018 10:40:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/BOXPLOTS/m-p/448923#M112932</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2018-03-27T10:40:06Z</dc:date>
    </item>
  </channel>
</rss>

