<?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: Band from 100 to 150 in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/Band-from-100-to-150/m-p/322214#M11279</link>
    <description>&lt;P&gt;It helps to show what you are starting from.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Likely you will be looking at a REFERENCELINE statement or two. It may be as simple as&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Referenceline y=100;&lt;/P&gt;
&lt;P&gt;Referenceline y=150;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;but where the statments go may depend on what else you are attempting.&lt;/P&gt;</description>
    <pubDate>Tue, 03 Jan 2017 17:54:32 GMT</pubDate>
    <dc:creator>ballardw</dc:creator>
    <dc:date>2017-01-03T17:54:32Z</dc:date>
    <item>
      <title>Band from 100 to 150</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Band-from-100-to-150/m-p/322212#M11278</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am creating a plot and there a request to show a band from 100 to 150 to show reference values.&lt;/P&gt;&lt;P&gt;The y-axis has values ranging from 0 to 250 and x-axis is weeks. What is the best way to show a band&lt;/P&gt;&lt;P&gt;using proc template ? I am using SAS 9.4M2&lt;/P&gt;</description>
      <pubDate>Tue, 03 Jan 2017 17:37:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Band-from-100-to-150/m-p/322212#M11278</guid>
      <dc:creator>Leo9</dc:creator>
      <dc:date>2017-01-03T17:37:50Z</dc:date>
    </item>
    <item>
      <title>Re: Band from 100 to 150</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Band-from-100-to-150/m-p/322214#M11279</link>
      <description>&lt;P&gt;It helps to show what you are starting from.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Likely you will be looking at a REFERENCELINE statement or two. It may be as simple as&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Referenceline y=100;&lt;/P&gt;
&lt;P&gt;Referenceline y=150;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;but where the statments go may depend on what else you are attempting.&lt;/P&gt;</description>
      <pubDate>Tue, 03 Jan 2017 17:54:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Band-from-100-to-150/m-p/322214#M11279</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2017-01-03T17:54:32Z</dc:date>
    </item>
    <item>
      <title>Re: Band from 100 to 150</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Band-from-100-to-150/m-p/322215#M11280</link>
      <description>&lt;P&gt;I need a band extending from 100 to 150 not two reference lines.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 03 Jan 2017 17:56:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Band-from-100-to-150/m-p/322215#M11280</guid>
      <dc:creator>Leo9</dc:creator>
      <dc:date>2017-01-03T17:56:16Z</dc:date>
    </item>
    <item>
      <title>Re: Band from 100 to 150</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Band-from-100-to-150/m-p/322216#M11281</link>
      <description>&lt;P&gt;The GTL supports &lt;A href="http://support.sas.com/documentation/cdl/en/grstatgraph/69718/HTML/default/viewer.htm#p0eqjd3p63v7vun1bo9iibtqt3zp.htm" target="_self"&gt;the BANDPLOT statement.&lt;/A&gt;&amp;nbsp;Thus you could write:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc template;
  define statgraph bandplot;
    begingraph;
      layout overlay;
        bandplot x=height limitlower=100 limitupper=150 /
          name="band" 
          legendlabel="Overweight";		
        scatterplot x=height y=weight / primary=true;
        discretelegend "band";
      endlayout;
    endgraph;
  end;
run;

proc sgrender data=sashelp.class template=bandplot;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;However, you might consider using a BLOCKPLOT statement instead. See the example in the article &lt;A href="http://blogs.sas.com/content/iml/2015/12/09/categories-histogram-block-plot.html" target="_self"&gt;"Overlay categories on a histogram."&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 03 Jan 2017 17:56:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Band-from-100-to-150/m-p/322216#M11281</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2017-01-03T17:56:55Z</dc:date>
    </item>
    <item>
      <title>Re: Band from 100 to 150</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Band-from-100-to-150/m-p/322220#M11283</link>
      <description>&lt;P&gt;Here is an example based on a SASHELP dataset which you may adapt:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc sgplot data=sashelp.citiwk;
band x=date lower=9.5 upper=10.5 / fill;
series x=date y=wspca;
xaxis type=time valuesformat=yyweeku6.;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 03 Jan 2017 18:19:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Band-from-100-to-150/m-p/322220#M11283</guid>
      <dc:creator>PGStats</dc:creator>
      <dc:date>2017-01-03T18:19:10Z</dc:date>
    </item>
  </channel>
</rss>

