Since I haven't seen any replies to your question, I will offer a partial
suggestion. I don't know which SAS version you are using but take a look at
the 9.1 documentation for GMAP and in particular, example 6. It shows how to
add a label to each segment of the map using the SAS Annotate facility.
Annotate lets you add stuff to a map or plot and it can be driven by input
data, in your case, the values of the variable Jamount. As for the 21
colors, you may have to specify them in a GOPTIONS colors = list and
to get 21 shades, I expect that you will have to use the hexadecimal
definitons of the colors. As I recall, SAS has some documentation on doing
From: SAS(r) Discussion [mailto:SAS-L@LISTSERV.UGA.EDU] On Behalf Of Tom
Sent: Friday, February 17, 2012 7:22 AM
Subject: Pro gmap: display values of response variable on the map
I am new to gmap and would need your help to display the values of response
variable 'Jamount' on the map.The 'Jamount' contains *21* values,some of
these values are negative.I also want the counties which have the negative
values having different color gradients starting from white (smallest
value) to red.In the same way I want the counties with positive values
having green color starting from dark green (highest value)*.
* My gmap codes;
proc* *gmap* map=Sweden data=Jan all;
choro Jamount /levels=*21* ;
Thanks in advance.