<?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 Changing Color of Area and Blocks in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/Changing-Color-of-Area-and-Blocks/m-p/166365#M6240</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm working on a map which I'm trying to summarize the Total US with two variables, Volume and Share. Below is the SAS code I'm using to create the map. My issue is no matter what I try I can't change the purple color of the states themselves. Any advice? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;GOPTIONS RESET=ALL;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LEGEND1 Label=("% Volume Change");&lt;/P&gt;&lt;P&gt;LEGEND2 Label=("State Share");&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PATTERN1 VALUE=SOLID COLOR=RED;&lt;/P&gt;&lt;P&gt;PATTERN2 VALUE=SOLID COLOR=ORANGE;&lt;/P&gt;&lt;P&gt;PATTERN3 VALUE=SOLID COLOR=YELLOW;&lt;/P&gt;&lt;P&gt;PATTERN4 VALUE=SOLID COLOR=GREEN;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Proc GMAP Map=MAPS.US Data=Step_3;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Format Volume GRPFMT. Share SHRFMT.;&lt;/P&gt;&lt;P&gt;&amp;nbsp; ID StateCode;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Block VOLUME / LEGEND = LEGEND1 LEVELS = 4 CBLOCK=BLACK SHAPE=C ;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Area SHARE / LEGEND = LEGEND2;&lt;/P&gt;&lt;P&gt;Run; Quit;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P align="center"&gt;&lt;IMG alt="SAS Graph.png" class="jive-image-thumbnail jive-image" src="https://communities.sas.com/legacyfs/online/9140_SAS Graph.png" style="float: left;" width="450" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 12 Feb 2015 16:22:24 GMT</pubDate>
    <dc:creator>BHarmon</dc:creator>
    <dc:date>2015-02-12T16:22:24Z</dc:date>
    <item>
      <title>Changing Color of Area and Blocks</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Changing-Color-of-Area-and-Blocks/m-p/166365#M6240</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm working on a map which I'm trying to summarize the Total US with two variables, Volume and Share. Below is the SAS code I'm using to create the map. My issue is no matter what I try I can't change the purple color of the states themselves. Any advice? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;GOPTIONS RESET=ALL;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LEGEND1 Label=("% Volume Change");&lt;/P&gt;&lt;P&gt;LEGEND2 Label=("State Share");&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PATTERN1 VALUE=SOLID COLOR=RED;&lt;/P&gt;&lt;P&gt;PATTERN2 VALUE=SOLID COLOR=ORANGE;&lt;/P&gt;&lt;P&gt;PATTERN3 VALUE=SOLID COLOR=YELLOW;&lt;/P&gt;&lt;P&gt;PATTERN4 VALUE=SOLID COLOR=GREEN;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Proc GMAP Map=MAPS.US Data=Step_3;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Format Volume GRPFMT. Share SHRFMT.;&lt;/P&gt;&lt;P&gt;&amp;nbsp; ID StateCode;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Block VOLUME / LEGEND = LEGEND1 LEVELS = 4 CBLOCK=BLACK SHAPE=C ;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Area SHARE / LEGEND = LEGEND2;&lt;/P&gt;&lt;P&gt;Run; Quit;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P align="center"&gt;&lt;IMG alt="SAS Graph.png" class="jive-image-thumbnail jive-image" src="https://communities.sas.com/legacyfs/online/9140_SAS Graph.png" style="float: left;" width="450" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Feb 2015 16:22:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Changing-Color-of-Area-and-Blocks/m-p/166365#M6240</guid>
      <dc:creator>BHarmon</dc:creator>
      <dc:date>2015-02-12T16:22:24Z</dc:date>
    </item>
    <item>
      <title>Re: Changing Color of Area and Blocks</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Changing-Color-of-Area-and-Blocks/m-p/166366#M6241</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here is one way to do it...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data my_map; set maps.us;&lt;/P&gt;&lt;P&gt;original_order=_n_;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc sql;&lt;/P&gt;&lt;P&gt;create table my_map as&lt;/P&gt;&lt;P&gt;select unique my_map.*, us_data.region&lt;/P&gt;&lt;P&gt;from my_map left join sashelp.us_data&lt;/P&gt;&lt;P&gt;on my_map.statecode=us_data.statecode&lt;/P&gt;&lt;P&gt;order by original_order;&lt;/P&gt;&lt;P&gt;quit; run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/* colors for 3 'levels' (bar colors) */&lt;/P&gt;&lt;P&gt;pattern1 v=solid c=pink;&lt;/P&gt;&lt;P&gt;pattern2 v=solid c=yellow;&lt;/P&gt;&lt;P&gt;pattern3 v=solid c=red;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/* colors for the regions (map land area colors) */&lt;/P&gt;&lt;P&gt;pattern4 v=msolid c=purple;&lt;/P&gt;&lt;P&gt;pattern5 v=msolid c=brown;&lt;/P&gt;&lt;P&gt;pattern6 v=msolid c=gray;&lt;/P&gt;&lt;P&gt;pattern7 v=msolid c=cx00ff00;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc gmap data=sashelp.us_data map=my_map;&lt;/P&gt;&lt;P&gt;id region statecode;&lt;/P&gt;&lt;P&gt;block population_2010 / levels=3 area=1;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="blockmap.png" class="jive-image-thumbnail jive-image" height="531" src="https://communities.sas.com/legacyfs/online/9146_blockmap.png" style="width: 709.050445103858px; height: 531px;" width="709" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Feb 2015 19:30:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Changing-Color-of-Area-and-Blocks/m-p/166366#M6241</guid>
      <dc:creator>GraphGuy</dc:creator>
      <dc:date>2015-02-12T19:30:39Z</dc:date>
    </item>
    <item>
      <title>Re: Changing Color of Area and Blocks</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Changing-Color-of-Area-and-Blocks/m-p/166367#M6242</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Jun 2015 15:37:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Changing-Color-of-Area-and-Blocks/m-p/166367#M6242</guid>
      <dc:creator>BHarmon</dc:creator>
      <dc:date>2015-06-18T15:37:02Z</dc:date>
    </item>
  </channel>
</rss>

