<?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: proc gmap: color gradient shading in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/proc-gmap-color-gradient-shading/m-p/742847#M21528</link>
    <description>&lt;P&gt;I suppose you saw this.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.sas.com/content/dam/SAS/en_ca/User%20Group%20Presentations/Edmonton-User-Group/presentation_slides_Weiyu.pdf" target="_blank"&gt;https://www.sas.com/content/dam/SAS/en_ca/User%20Group%20Presentations/Edmonton-User-Group/presentation_slides_Weiyu.pdf&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;I think you forgot to call the style.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 21 May 2021 08:55:10 GMT</pubDate>
    <dc:creator>ChrisNZ</dc:creator>
    <dc:date>2021-05-21T08:55:10Z</dc:date>
    <item>
      <title>proc gmap: color gradient shading</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/proc-gmap-color-gradient-shading/m-p/742835#M21527</link>
      <description>&lt;P&gt;Dear all,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;am tring to use color grading shades&amp;nbsp; for the map I created but it's not showing any results. Am not sure if I have missing anything in my code. I will appreciate any help&lt;/P&gt;
&lt;PRE&gt;proc template;
define style styles.grad1;
parent=styles.listing;
style threecolorramp /startcolor=cream endcolor=darkblue;
end;
run;

proc gmap data=mydata map=mapsgfk.germany all; 
id id;
choro cases / statistic=first discrete 
levels=4
coutline=gray anno=myanno
cdefault=CXFFFFFF
legend=legend1;
run;
quit;
&lt;/PRE&gt;</description>
      <pubDate>Fri, 21 May 2021 06:59:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/proc-gmap-color-gradient-shading/m-p/742835#M21527</guid>
      <dc:creator>Anita_n</dc:creator>
      <dc:date>2021-05-21T06:59:10Z</dc:date>
    </item>
    <item>
      <title>Re: proc gmap: color gradient shading</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/proc-gmap-color-gradient-shading/m-p/742847#M21528</link>
      <description>&lt;P&gt;I suppose you saw this.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.sas.com/content/dam/SAS/en_ca/User%20Group%20Presentations/Edmonton-User-Group/presentation_slides_Weiyu.pdf" target="_blank"&gt;https://www.sas.com/content/dam/SAS/en_ca/User%20Group%20Presentations/Edmonton-User-Group/presentation_slides_Weiyu.pdf&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;I think you forgot to call the style.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 21 May 2021 08:55:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/proc-gmap-color-gradient-shading/m-p/742847#M21528</guid>
      <dc:creator>ChrisNZ</dc:creator>
      <dc:date>2021-05-21T08:55:10Z</dc:date>
    </item>
    <item>
      <title>Re: proc gmap: color gradient shading</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/proc-gmap-color-gradient-shading/m-p/742855#M21529</link>
      <description>&lt;P&gt;you mean this?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;ods listing style=styles.grad1;&lt;BR /&gt;ods html style=styles.grad1;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;yes I tried that but I get colors like red green yellow etc. Although they are not included&lt;/P&gt;</description>
      <pubDate>Fri, 21 May 2021 09:14:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/proc-gmap-color-gradient-shading/m-p/742855#M21529</guid>
      <dc:creator>Anita_n</dc:creator>
      <dc:date>2021-05-21T09:14:37Z</dc:date>
    </item>
    <item>
      <title>Re: proc gmap: color gradient shading</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/proc-gmap-color-gradient-shading/m-p/742871#M21530</link>
      <description>&lt;P&gt;Try twocolorramp, rather than threecolorramp.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 21 May 2021 11:07:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/proc-gmap-color-gradient-shading/m-p/742871#M21530</guid>
      <dc:creator>GraphGuy</dc:creator>
      <dc:date>2021-05-21T11:07:02Z</dc:date>
    </item>
    <item>
      <title>Re: proc gmap: color gradient shading</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/proc-gmap-color-gradient-shading/m-p/742874#M21535</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13585"&gt;@GraphGuy&lt;/a&gt;&amp;nbsp;This is the code I used but unfortunately no changes. Attached is my data&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;legend1 label =(position=top j=c h=10pt "Number of cases" )
        value=(f="Arial" h=8pt c=black justify=left)
		origin=(78,18)
		across=1
		position= (right middle)
		offset=(0.5)
		space=1
		mode=reserve
		shape= bar(.17in,.13in )/*width and height*/
		;

proc template;
define style styles.grad1;
parent=styles.listing;
style twocolorramp /startcolor=cream endcolor=darkblue;
end;
run;

ods listing style=styles.grad1;
ods html style=styles.grad1;
proc gmap data=mydata map=mydata all; 
id id;
choro cases/ statistic=first discrete 
levels=4
coutline=gray anno=myanno
cdefault=CXFFFFFF
legend=legend1;
run;
quit;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 21 May 2021 11:26:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/proc-gmap-color-gradient-shading/m-p/742874#M21535</guid>
      <dc:creator>Anita_n</dc:creator>
      <dc:date>2021-05-21T11:26:02Z</dc:date>
    </item>
    <item>
      <title>Re: proc gmap: color gradient shading</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/proc-gmap-color-gradient-shading/m-p/742877#M21536</link>
      <description>&lt;P&gt;Hmm ... I'm not sure if levels=4 and discrete can be used together(?)&lt;/P&gt;
&lt;P&gt;Rather than "statistic=first discrete levels=4", try just "levels=4".&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What does your data look like?&lt;/P&gt;</description>
      <pubDate>Fri, 21 May 2021 12:05:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/proc-gmap-color-gradient-shading/m-p/742877#M21536</guid>
      <dc:creator>GraphGuy</dc:creator>
      <dc:date>2021-05-21T12:05:34Z</dc:date>
    </item>
    <item>
      <title>Re: proc gmap: color gradient shading</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/proc-gmap-color-gradient-shading/m-p/742880#M21537</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13585"&gt;@GraphGuy&lt;/a&gt;&amp;nbsp;thanks it worked. I deleted discrete.&lt;/P&gt;</description>
      <pubDate>Fri, 21 May 2021 16:28:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/proc-gmap-color-gradient-shading/m-p/742880#M21537</guid>
      <dc:creator>Anita_n</dc:creator>
      <dc:date>2021-05-21T16:28:20Z</dc:date>
    </item>
    <item>
      <title>Re: proc gmap: color gradient shading</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/proc-gmap-color-gradient-shading/m-p/742883#M21538</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13585"&gt;@GraphGuy&lt;/a&gt;&amp;nbsp; here is my data&lt;/P&gt;
&lt;P&gt;the map data is mapsgfk.germany and&amp;nbsp; mapsgfk.germany_attr&lt;/P&gt;</description>
      <pubDate>Fri, 21 May 2021 12:56:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/proc-gmap-color-gradient-shading/m-p/742883#M21538</guid>
      <dc:creator>Anita_n</dc:creator>
      <dc:date>2021-05-21T12:56:27Z</dc:date>
    </item>
    <item>
      <title>Re: proc gmap: color gradient shading</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/proc-gmap-color-gradient-shading/m-p/742918#M21540</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13585"&gt;@GraphGuy&lt;/a&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 21 May 2021 16:36:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/proc-gmap-color-gradient-shading/m-p/742918#M21540</guid>
      <dc:creator>Anita_n</dc:creator>
      <dc:date>2021-05-21T16:36:10Z</dc:date>
    </item>
    <item>
      <title>Re: proc gmap: color gradient shading</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/proc-gmap-color-gradient-shading/m-p/742938#M21541</link>
      <description>&lt;P&gt;Let's stick with one question per thread - this thread was for getting the gradient colors working, and we got that part working &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please start a fresh question/thread for the next question.&lt;/P&gt;</description>
      <pubDate>Fri, 21 May 2021 16:02:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/proc-gmap-color-gradient-shading/m-p/742938#M21541</guid>
      <dc:creator>GraphGuy</dc:creator>
      <dc:date>2021-05-21T16:02:27Z</dc:date>
    </item>
    <item>
      <title>Re: proc gmap: color gradient shading</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/proc-gmap-color-gradient-shading/m-p/742948#M21542</link>
      <description>&lt;P&gt;okay&lt;/P&gt;</description>
      <pubDate>Fri, 21 May 2021 16:25:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/proc-gmap-color-gradient-shading/m-p/742948#M21542</guid>
      <dc:creator>Anita_n</dc:creator>
      <dc:date>2021-05-21T16:25:58Z</dc:date>
    </item>
  </channel>
</rss>

