<?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: Color Ramp for GMAP in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/Color-Ramp-for-GMAP/m-p/106782#M3956</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No errors in the template when I ran it. Likely a difference in options or settings between installations.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 21 Dec 2012 18:11:27 GMT</pubDate>
    <dc:creator>ballardw</dc:creator>
    <dc:date>2012-12-21T18:11:27Z</dc:date>
    <item>
      <title>Color Ramp for GMAP</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Color-Ramp-for-GMAP/m-p/106776#M3950</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've been trying to add a color ramp to a map using the suggested coding from: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="active_link" href="http://support.sas.com/kb/41/776.html" title="http://support.sas.com/kb/41/776.html"&gt;41776 - Create a map with colors defined from a color ramp&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, I can't get anything other then the basic green choro (so the proc template I use it not being applied).&amp;nbsp; I tried adding a goptions device=actximg; statement to remove a warning, but I still can only get the basic green.&amp;nbsp; I'm on 9.2.&amp;nbsp; Any ideas?&amp;nbsp; I've just been using a predefined set of 5 colors instead, but a color ramp would work much better since I may not always have 5 levels.&amp;nbsp; Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Dec 2012 17:13:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Color-Ramp-for-GMAP/m-p/106776#M3950</guid>
      <dc:creator>P5C768</dc:creator>
      <dc:date>2012-12-21T17:13:03Z</dc:date>
    </item>
    <item>
      <title>Re: Color Ramp for GMAP</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Color-Ramp-for-GMAP/m-p/106777#M3951</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Your template and map producing code will likely help a diagnosis.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Dec 2012 17:35:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Color-Ramp-for-GMAP/m-p/106777#M3951</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2012-12-21T17:35:31Z</dc:date>
    </item>
    <item>
      <title>Re: Color Ramp for GMAP</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Color-Ramp-for-GMAP/m-p/106778#M3952</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm using the code from the link attached above:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc template;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; define style styles.colorramp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; parent=styles.default;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; /* Define a lighter and darker shade of blue for the starting and ending colors. */&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; style twocolorramp / startcolor=cxF3F7FE endcolor=cx6497EB;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; /* When there are fewer than 3 response levels, GraphData1 and GraphData2 &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; are used for the colors */&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; style graphdata1 from graphdata1 / color=cxF3F7FE;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; style graphdata2 from graphdata2 / color=cx6497EB;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; end;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/* Reference the style using the STYLE= option on the ODS destination statement */&lt;/P&gt;&lt;P&gt;goptions device=actximg;&lt;/P&gt;&lt;P&gt;ods listing style=styles.colorramp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;title 'Map with colors defined from a color ramp';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc gmap data=maps.us map=maps.us;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; id state;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; choro state;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;quit;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Dec 2012 17:52:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Color-Ramp-for-GMAP/m-p/106778#M3952</guid>
      <dc:creator>P5C768</dc:creator>
      <dc:date>2012-12-21T17:52:19Z</dc:date>
    </item>
    <item>
      <title>Re: Color Ramp for GMAP</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Color-Ramp-for-GMAP/m-p/106779#M3953</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I did, too.&lt;/P&gt;&lt;P&gt;And there are several errors in the proc template.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, just the proc gmap gives the attached map.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Dec 2012 17:56:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Color-Ramp-for-GMAP/m-p/106779#M3953</guid>
      <dc:creator>AncaTilea</dc:creator>
      <dc:date>2012-12-21T17:56:38Z</dc:date>
    </item>
    <item>
      <title>Re: Color Ramp for GMAP</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Color-Ramp-for-GMAP/m-p/106780#M3954</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Apparently there is an error on read/write permissions, so you need to run this little piece of code before you run your original code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;CODE&gt;ODS PATH work.templat(update) sasuser.templat(read) sashelp.tmplmst(read);&lt;/CODE&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;CODE&gt;Good luck and let us know if it work!&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;img id="smileywink" class="emoticon emoticon-smileywink" src="https://communities.sas.com/i/smilies/16x16_smiley-wink.png" alt="Smiley Wink" title="Smiley Wink" /&gt;&lt;BR /&gt;&lt;CODE&gt;&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;CODE&gt;&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;CODE&gt;Anca.&lt;/CODE&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Dec 2012 18:02:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Color-Ramp-for-GMAP/m-p/106780#M3954</guid>
      <dc:creator>AncaTilea</dc:creator>
      <dc:date>2012-12-21T18:02:38Z</dc:date>
    </item>
    <item>
      <title>Re: Color Ramp for GMAP</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Color-Ramp-for-GMAP/m-p/106781#M3955</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When problems pop up with graphic output I start with:&lt;/P&gt;&lt;P&gt;goptions reset=all;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I ran your code minus the device = actximg and get 6 shades of blue in the LISTING output and I am running SAS 9.2.&lt;/P&gt;&lt;P&gt;However in HTML output in the results windo I get the color scheme set by my default style. If you are looking at the results window and it is HTM output that could be the problem, the HTML destination didn't get assigned the style.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Dec 2012 18:05:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Color-Ramp-for-GMAP/m-p/106781#M3955</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2012-12-21T18:05:19Z</dc:date>
    </item>
    <item>
      <title>Re: Color Ramp for GMAP</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Color-Ramp-for-GMAP/m-p/106782#M3956</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No errors in the template when I ran it. Likely a difference in options or settings between installations.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Dec 2012 18:11:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Color-Ramp-for-GMAP/m-p/106782#M3956</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2012-12-21T18:11:27Z</dc:date>
    </item>
    <item>
      <title>Re: Color Ramp for GMAP</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Color-Ramp-for-GMAP/m-p/106783#M3957</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Could be.&lt;/P&gt;&lt;P&gt;this is the error I get when I run the code as is (I like the exclamation mark at the end of the error!!!!)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1&amp;nbsp;&amp;nbsp;&amp;nbsp; proc template;&lt;/P&gt;&lt;P&gt;NOTE: Writing HTML Body file: sashtml.htm&lt;/P&gt;&lt;P&gt;2&lt;/P&gt;&lt;P&gt;3&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; define style styles.colorramp;&lt;/P&gt;&lt;P&gt;4&lt;/P&gt;&lt;P&gt;5&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; parent=styles.default;&lt;/P&gt;&lt;P&gt;6&lt;/P&gt;&lt;P&gt;7&lt;/P&gt;&lt;P&gt;8&lt;/P&gt;&lt;P&gt;9&lt;/P&gt;&lt;P&gt;10&lt;/P&gt;&lt;P&gt;11&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* Define a lighter and darker shade of blue for the starting and ending colors. */&lt;/P&gt;&lt;P&gt;12&lt;/P&gt;&lt;P&gt;13&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; style twocolorramp / startcolor=cxF3F7FE endcolor=cx6497EB;&lt;/P&gt;&lt;P&gt;14&lt;/P&gt;&lt;P&gt;15&lt;/P&gt;&lt;P&gt;16&lt;/P&gt;&lt;P&gt;17&lt;/P&gt;&lt;P&gt;18&lt;/P&gt;&lt;P&gt;19&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* When there are fewer than 3 response levels, GraphData1 and GraphData2&lt;/P&gt;&lt;P&gt;20&lt;/P&gt;&lt;P&gt;21&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; are used for the colors */&lt;/P&gt;&lt;P&gt;22&lt;/P&gt;&lt;P&gt;23&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; style graphdata1 from graphdata1 / color=cxF3F7FE;&lt;/P&gt;&lt;P&gt;24&lt;/P&gt;&lt;P&gt;25&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; style graphdata2 from graphdata2 / color=cx6497EB;&lt;/P&gt;&lt;P&gt;26&lt;/P&gt;&lt;P&gt;27&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; end;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ERROR: Template 'Styles.Colorramp' was unable to write to template store!&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;28&lt;/P&gt;&lt;P&gt;29&amp;nbsp;&amp;nbsp; run;&lt;/P&gt;&lt;P&gt;NOTE: PROCEDURE TEMPLATE used (Total process time):&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; real time&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.46 seconds&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; cpu time&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.37 seconds&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;WARNING: Errors were produced.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;NOTE: The SAS System stopped processing this step because of errors.&lt;/P&gt;&lt;P&gt;30&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Dec 2012 18:19:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Color-Ramp-for-GMAP/m-p/106783#M3957</guid>
      <dc:creator>AncaTilea</dc:creator>
      <dc:date>2012-12-21T18:19:38Z</dc:date>
    </item>
    <item>
      <title>Re: Color Ramp for GMAP</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Color-Ramp-for-GMAP/m-p/106784#M3958</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When I remove the &lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;device = actximg&lt;/SPAN&gt; and replace it with &lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;goptions reset=all;&lt;/SPAN&gt; I get "ERROR: Device was not specified."&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I direct the html output to have the assigned style?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Dec 2012 18:24:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Color-Ramp-for-GMAP/m-p/106784#M3958</guid>
      <dc:creator>P5C768</dc:creator>
      <dc:date>2012-12-21T18:24:08Z</dc:date>
    </item>
    <item>
      <title>Re: Color Ramp for GMAP</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Color-Ramp-for-GMAP/m-p/106785#M3959</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;have you tried my suggestion?&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;CODE&gt;ODS PATH work.templat(update) sasuser.templat(read) sashelp.tmplmst(read);&lt;/CODE&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;??&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Dec 2012 18:25:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Color-Ramp-for-GMAP/m-p/106785#M3959</guid>
      <dc:creator>AncaTilea</dc:creator>
      <dc:date>2012-12-21T18:25:59Z</dc:date>
    </item>
    <item>
      <title>Re: Color Ramp for GMAP</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Color-Ramp-for-GMAP/m-p/106786#M3960</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How are you running SAS? ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DMS (Display Management System).&lt;/P&gt;&lt;P&gt;Batch.&lt;/P&gt;&lt;P&gt;EG.&lt;/P&gt;&lt;P&gt;Stored Process.&lt;/P&gt;&lt;P&gt;Connect.&lt;/P&gt;&lt;P&gt;Other?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Dec 2012 18:34:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Color-Ramp-for-GMAP/m-p/106786#M3960</guid>
      <dc:creator>GraphGuy</dc:creator>
      <dc:date>2012-12-21T18:34:45Z</dc:date>
    </item>
    <item>
      <title>Re: Color Ramp for GMAP</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Color-Ramp-for-GMAP/m-p/106787#M3961</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A __default_attr="809401" __jive_macro_name="user" class="jive_macro jive_macro_user" data-objecttype="3" href="https://communities.sas.com/"&gt;&lt;/A&gt;, yes I tried that as well , with no luck.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A __default_attr="77982" __jive_macro_name="user" class="jive_macro jive_macro_user" data-objecttype="3" href="https://communities.sas.com/"&gt;&lt;/A&gt;, I am using EG.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Dec 2012 18:37:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Color-Ramp-for-GMAP/m-p/106787#M3961</guid>
      <dc:creator>P5C768</dc:creator>
      <dc:date>2012-12-21T18:37:57Z</dc:date>
    </item>
    <item>
      <title>Re: Color Ramp for GMAP</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Color-Ramp-for-GMAP/m-p/106788#M3962</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The problem here is that you are trying to use the style on the LISTING destination. The ACTXIMG device it not supported for LISTING. Try using that device with ODS HTML instead and see you get the expected result.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps!&lt;/P&gt;&lt;P&gt;Dan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Dec 2012 18:55:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Color-Ramp-for-GMAP/m-p/106788#M3962</guid>
      <dc:creator>DanH_sas</dc:creator>
      <dc:date>2012-12-21T18:55:42Z</dc:date>
    </item>
    <item>
      <title>Re: Color Ramp for GMAP</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Color-Ramp-for-GMAP/m-p/106789#M3963</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you're using EG, you won't easily get your graph output via the LISTING destination (as the code example shows). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Assuming that you are using HTML as your output destination in EG, try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;ODS PATH work.templat(update) sasuser.templat(read) sashelp.tmplmst(read);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;proc template;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp;&amp;nbsp; define style styles.colorramp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp;&amp;nbsp; parent=styles.default;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp;&amp;nbsp; /* Define a lighter and darker shade of blue for the starting and ending colors. */&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp;&amp;nbsp; style twocolorramp / startcolor=cxF3F7FE endcolor=cx6497EB;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp;&amp;nbsp; /* When there are fewer than 3 response levels, GraphData1 and GraphData2 &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; are used for the colors */&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp;&amp;nbsp; style graphdata1 from graphdata1 / color=cxF3F7FE;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp;&amp;nbsp; style graphdata2 from graphdata2 / color=cx6497EB;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp;&amp;nbsp; end;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;run;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/* forcing to PNG for now, you can change if you need to */&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;goptions dev=png;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;/* Reference the style using the STYLE= option on the ODS destination statement */&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;/* piggy-back on the already-open HTML destination used by EG */&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;ods html(id=eghtml) style=styles.colorramp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;title 'Map with colors defined from a color ramp';&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;proc gmap data=maps.us map=maps.us;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp;&amp;nbsp; id state;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp;&amp;nbsp; choro state;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;run;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;quit; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Chris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Dec 2012 18:57:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Color-Ramp-for-GMAP/m-p/106789#M3963</guid>
      <dc:creator>ChrisHemedinger</dc:creator>
      <dc:date>2012-12-21T18:57:12Z</dc:date>
    </item>
    <item>
      <title>Re: Color Ramp for GMAP</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Color-Ramp-for-GMAP/m-p/106790#M3964</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;...and after the quit;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;ods html close;&lt;/STRONG&gt; OR &lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;ods _all_ close;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cynthia&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Dec 2012 19:18:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Color-Ramp-for-GMAP/m-p/106790#M3964</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2012-12-21T19:18:31Z</dc:date>
    </item>
    <item>
      <title>Re: Color Ramp for GMAP</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Color-Ramp-for-GMAP/m-p/106791#M3965</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I left out the ODS HTML CLOSE because if you're using EG, it does that for you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EG provides the top and bottom slice of the ODS Sandwich.&amp;nbsp; I added a middle slice to reset the style..making it kind of like an ODS "Big Mac" when you're done.&amp;nbsp; (Thanks to PROC TEMPLATE for the special sauce.)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Chris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Dec 2012 19:29:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Color-Ramp-for-GMAP/m-p/106791#M3965</guid>
      <dc:creator>ChrisHemedinger</dc:creator>
      <dc:date>2012-12-21T19:29:19Z</dc:date>
    </item>
  </channel>
</rss>

