Procedure features: |
|
Other features: |
|
Sample library
member: |
GMPLABEL
|
This
example uses the Annotate facility to add labels
to each area in a map of Belarus. The CHORO statement assigns the Annotate
data set to the map.
The %MAPLABEL annotate macro is used to create and position the map
labels. For more information about this macro, see %MAPLABEL Macro.
|
goptions reset=all border; |
|
title "Labeling Provinces with the MAPLABEL Macro";
footnote j=r "GMPLABEL"; |
|
pattern1 value=empty color=blue repeat=6; |
|
%annomac;
%maplabel (maps.belarus, maps.belarus2, work.labelout, idname, id, font=Arial Black,
color=crimson, size=4, hsys=3); |
|
proc gmap map=maps.belarus data=maps.belarus;
id id;
choro id / nolegend annotate=labelout;
run;
quit; |
Copyright © 2010 by SAS Institute Inc., Cary, NC, USA. All rights reserved.