<?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: setting range for x-axis &amp;amp; changing color of box plots in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/setting-range-for-x-axis-amp-changing-color-of-box-plots/m-p/564457#M158336</link>
    <description>To set the range for the XAXIS - use the XAXIS statement as displayed in the PROC SGPLOT section of SAS help. &lt;A href="https://documentation.sas.com/?docsetId=grstatproc&amp;amp;docsetTarget=p07m2vpyq75fgan14m6g5pphnwlr.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=en" target="_blank"&gt;https://documentation.sas.com/?docsetId=grstatproc&amp;amp;docsetTarget=p07m2vpyq75fgan14m6g5pphnwlr.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=en&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Similarly, use the LINEATTRS option to change the colour of the line.</description>
    <pubDate>Fri, 07 Jun 2019 13:15:22 GMT</pubDate>
    <dc:creator>Karen_Horton</dc:creator>
    <dc:date>2019-06-07T13:15:22Z</dc:date>
    <item>
      <title>setting range for x-axis &amp; changing color of box plots</title>
      <link>https://communities.sas.com/t5/SAS-Programming/setting-range-for-x-axis-amp-changing-color-of-box-plots/m-p/564378#M158301</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc sgplot data=didi noautolegend;&lt;BR /&gt;title1 "Trial";&lt;BR /&gt;styleattrs datacolors=(grey grey grey) backcolor=wh wallcolor=gwh;&lt;BR /&gt;vbox IPtotal / category=type group=type;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The above programming worked fine, but I would like to know the coding technique for&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. setting range for X-axis&lt;/P&gt;&lt;P&gt;I want to set a higher maximum.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2. changing color of the line&lt;/P&gt;&lt;P&gt;This programming produced 3 box plots in one graph.&lt;/P&gt;&lt;P&gt;I was able to change the color that fills the box plots to all grey.&lt;/P&gt;&lt;P&gt;But I would like to change the line color of the box plots to all black.&amp;nbsp;&lt;/P&gt;&lt;P&gt;At the moment it came out in blue, green and red.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I didn't set it so I assume SAS has automatically done it.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If possible could you also please tell me, where to look at in the SAS guide for this kind of questions.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your help in advance.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 07 Jun 2019 06:31:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/setting-range-for-x-axis-amp-changing-color-of-box-plots/m-p/564378#M158301</guid>
      <dc:creator>SAS_AMUH</dc:creator>
      <dc:date>2019-06-07T06:31:04Z</dc:date>
    </item>
    <item>
      <title>Re: setting range for x-axis &amp; changing color of box plots</title>
      <link>https://communities.sas.com/t5/SAS-Programming/setting-range-for-x-axis-amp-changing-color-of-box-plots/m-p/564457#M158336</link>
      <description>To set the range for the XAXIS - use the XAXIS statement as displayed in the PROC SGPLOT section of SAS help. &lt;A href="https://documentation.sas.com/?docsetId=grstatproc&amp;amp;docsetTarget=p07m2vpyq75fgan14m6g5pphnwlr.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=en" target="_blank"&gt;https://documentation.sas.com/?docsetId=grstatproc&amp;amp;docsetTarget=p07m2vpyq75fgan14m6g5pphnwlr.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=en&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Similarly, use the LINEATTRS option to change the colour of the line.</description>
      <pubDate>Fri, 07 Jun 2019 13:15:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/setting-range-for-x-axis-amp-changing-color-of-box-plots/m-p/564457#M158336</guid>
      <dc:creator>Karen_Horton</dc:creator>
      <dc:date>2019-06-07T13:15:22Z</dc:date>
    </item>
    <item>
      <title>Re: setting range for x-axis &amp; changing color of box plots</title>
      <link>https://communities.sas.com/t5/SAS-Programming/setting-range-for-x-axis-amp-changing-color-of-box-plots/m-p/564458#M158337</link>
      <description>&lt;P&gt;or STYLEATTRS&lt;/P&gt;</description>
      <pubDate>Fri, 07 Jun 2019 13:17:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/setting-range-for-x-axis-amp-changing-color-of-box-plots/m-p/564458#M158337</guid>
      <dc:creator>Karen_Horton</dc:creator>
      <dc:date>2019-06-07T13:17:25Z</dc:date>
    </item>
    <item>
      <title>Re: setting range for x-axis &amp; changing color of box plots</title>
      <link>https://communities.sas.com/t5/SAS-Programming/setting-range-for-x-axis-amp-changing-color-of-box-plots/m-p/564809#M158462</link>
      <description>THANK YOU!</description>
      <pubDate>Mon, 10 Jun 2019 05:40:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/setting-range-for-x-axis-amp-changing-color-of-box-plots/m-p/564809#M158462</guid>
      <dc:creator>SAS_AMUH</dc:creator>
      <dc:date>2019-06-10T05:40:14Z</dc:date>
    </item>
  </channel>
</rss>

