<?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: How to select specific ranges for US Map in proc gmap in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/How-to-select-specific-ranges-for-US-Map-in-proc-gmap/m-p/160712#M6026</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Easiest would be to use a custom format that groups your data into the desired range and use the Discrete option on the choro statement;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc format;&lt;/P&gt;&lt;P&gt;value mypct&lt;/P&gt;&lt;P&gt;0 &amp;lt; 10 = ' 0% - 9%'&lt;/P&gt;&lt;P&gt;10 -&amp;lt; 20 = '10%-19%'&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;And the choro statement would look like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Choro &amp;amp;count / discrete coutline=black legend=legend1;&lt;/P&gt;&lt;P&gt;format &amp;amp;count mypct.;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Midpoints or Levels on the choro statement could also work but I prefer the explicit control of the custom format.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 03 Feb 2014 17:30:22 GMT</pubDate>
    <dc:creator>ballardw</dc:creator>
    <dc:date>2014-02-03T17:30:22Z</dc:date>
    <item>
      <title>How to select specific ranges for US Map in proc gmap</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/How-to-select-specific-ranges-for-US-Map-in-proc-gmap/m-p/160711#M6025</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, I am trying to control the pattern ranges in the US Map graph when using proc gmap.&amp;nbsp; Currently, I am using the default range, but want to be able to control it.&amp;nbsp; This is my code.&amp;nbsp; How can I define the ranges?&amp;nbsp; For example, if I wanted the ranges to be 0%-9%, 10%-19%, etc...&amp;nbsp; Thanks!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;%let count=percent1;&lt;/P&gt;&lt;P&gt;%let grftitl=Population by State;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc format;&lt;/P&gt;&lt;P&gt;picture pctpic (round) low-&amp;lt;0 ='009.99%' (prefix='-' mult=10000) 0-high='009.99%' (mult=10000);&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;titleh=1.6"&amp;amp;grftitl";&lt;/P&gt;&lt;P&gt;goptionsdev=emf gsfname=output1gsfmode=replace;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;legend1label=(h=1.4)value=(h=1.4);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;procgmap allmap=maps.us data=state_count;&lt;/P&gt;&lt;P&gt;format &amp;amp;count pctpic.;&lt;/P&gt;&lt;P&gt;id state;&lt;/P&gt;&lt;P&gt;choro &amp;amp;count / coutline=black legend=legend1;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*Light blue to dark blue colors;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;pattern1v=ms c=cxeff3ff;pattern2 v=msc=cxbdd7e7; pattern3v=ms c=cx6baed6;&lt;/P&gt;&lt;P&gt;pattern4v=ms c=cx2171b5;pattern5 v=msc=CX13478C; pattern6v=ms c=CX090766;&lt;/P&gt;&lt;P&gt;run; quit;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Feb 2014 16:49:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/How-to-select-specific-ranges-for-US-Map-in-proc-gmap/m-p/160711#M6025</guid>
      <dc:creator>bspangler</dc:creator>
      <dc:date>2014-02-03T16:49:44Z</dc:date>
    </item>
    <item>
      <title>Re: How to select specific ranges for US Map in proc gmap</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/How-to-select-specific-ranges-for-US-Map-in-proc-gmap/m-p/160712#M6026</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Easiest would be to use a custom format that groups your data into the desired range and use the Discrete option on the choro statement;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc format;&lt;/P&gt;&lt;P&gt;value mypct&lt;/P&gt;&lt;P&gt;0 &amp;lt; 10 = ' 0% - 9%'&lt;/P&gt;&lt;P&gt;10 -&amp;lt; 20 = '10%-19%'&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;And the choro statement would look like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Choro &amp;amp;count / discrete coutline=black legend=legend1;&lt;/P&gt;&lt;P&gt;format &amp;amp;count mypct.;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Midpoints or Levels on the choro statement could also work but I prefer the explicit control of the custom format.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Feb 2014 17:30:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/How-to-select-specific-ranges-for-US-Map-in-proc-gmap/m-p/160712#M6026</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2014-02-03T17:30:22Z</dc:date>
    </item>
    <item>
      <title>Re: How to select specific ranges for US Map in proc gmap</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/How-to-select-specific-ranges-for-US-Map-in-proc-gmap/m-p/160713#M6027</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, that worked perfect!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Feb 2014 19:01:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/How-to-select-specific-ranges-for-US-Map-in-proc-gmap/m-p/160713#M6027</guid>
      <dc:creator>bspangler</dc:creator>
      <dc:date>2014-02-03T19:01:05Z</dc:date>
    </item>
  </channel>
</rss>

