<?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 How do I add specific sections in figures ? in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/How-do-I-add-specific-sections-in-figures/m-p/730732#M21259</link>
    <description>&lt;P&gt;&lt;SPAN&gt;Hi, any idea how can I do to program the below in SAS ? I mean, the sections in yellow and red that are based on 'y' values of 54 mg/dL, 70 mg/dL, 180 mg/dL and 250 mg/dL ?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="_sba__1-1617288592572.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/56803i575D47EB9D02F2B8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="_sba__1-1617288592572.png" alt="_sba__1-1617288592572.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Any advice is welcome!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 01 Apr 2021 14:51:50 GMT</pubDate>
    <dc:creator>_sba_</dc:creator>
    <dc:date>2021-04-01T14:51:50Z</dc:date>
    <item>
      <title>How do I add specific sections in figures ?</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/How-do-I-add-specific-sections-in-figures/m-p/730732#M21259</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hi, any idea how can I do to program the below in SAS ? I mean, the sections in yellow and red that are based on 'y' values of 54 mg/dL, 70 mg/dL, 180 mg/dL and 250 mg/dL ?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="_sba__1-1617288592572.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/56803i575D47EB9D02F2B8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="_sba__1-1617288592572.png" alt="_sba__1-1617288592572.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Any advice is welcome!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 01 Apr 2021 14:51:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/How-do-I-add-specific-sections-in-figures/m-p/730732#M21259</guid>
      <dc:creator>_sba_</dc:creator>
      <dc:date>2021-04-01T14:51:50Z</dc:date>
    </item>
    <item>
      <title>Re: How do I add specific sections in figures ?</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/How-do-I-add-specific-sections-in-figures/m-p/730788#M21264</link>
      <description>&lt;P&gt;An example:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data graph;
set sashelp.stocks;
where stock="IBM"; 
v6min=min(6000000, volume);
v12max=min(15000000, max(volume, 12000000));
v15max=max(15000000, volume);
run;

proc sgplot data=graph noautolegend;
series x=date y=volume;

band x=date lower=v6min upper=6000000 / 
    fillattrs=(color=green) nooutline noextend;
band x=date lower=12000000 upper=v12max / 
    fillattrs=(color=yellow) nooutline noextend;
band x=date lower=15000000 upper=v15max / 
    fillattrs=(color=red) nooutline noextend;

refline 6000000 12000000 15000000/ axis=y label=("Low" "Mid" "High") labelloc=inside;
xaxis offsetmax=0.1;
quit;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="PGStats_0-1617297003866.png" style="width: 999px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/56808i2B8069A30DC941DC/image-size/large?v=v2&amp;amp;px=999" role="button" title="PGStats_0-1617297003866.png" alt="PGStats_0-1617297003866.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 01 Apr 2021 17:11:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/How-do-I-add-specific-sections-in-figures/m-p/730788#M21264</guid>
      <dc:creator>PGStats</dc:creator>
      <dc:date>2021-04-01T17:11:08Z</dc:date>
    </item>
    <item>
      <title>Re: How do I add specific sections in figures ?</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/How-do-I-add-specific-sections-in-figures/m-p/730920#M21266</link>
      <description>&lt;P&gt;thanks a lot really helpful ! Many thanks !&lt;/P&gt;</description>
      <pubDate>Fri, 02 Apr 2021 06:47:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/How-do-I-add-specific-sections-in-figures/m-p/730920#M21266</guid>
      <dc:creator>_sba_</dc:creator>
      <dc:date>2021-04-02T06:47:46Z</dc:date>
    </item>
  </channel>
</rss>

