Procedure features: |
|
Sample library
member: |
GRDCANAD
|
In
this example, the GREDUCE procedure creates the DENSITY
variable for the CANADA2 map data set that is provided with SAS/GRAPH.
First, the map is displayed at its original density by using the GMAP procedure.
Second, the map is displayed by using density values of 0 to
2.
|
goptions reset=all border; |
|
title1 "Canada";
title2 "Using all DENSITY values";
footnote j=r "GRDCANAD(a) "; |
|
pattern value=mempty repeat=12 color=blue; |
|
proc gmap map=maps.canada2 data=maps.canada2 all;
id province;
choro province / nolegend;
run; |
|
proc greduce data=maps.canada2 out=can2;
id province;
run; |
|
title2 h=4 "Using only DENSITY values 0 to 2";
footnote2 j=r "GRDCANAD(b) "; |
|
proc gmap map=can2
data=can2 all density=2;
id province;
choro province / nolegend;
run;
quit; |
Copyright © 2010 by SAS Institute Inc., Cary, NC, USA. All rights reserved.