0

重新制定:我想覆盖以下两个图表:

data mystates;
set maps.states;
myvar = state<30;
run;

pattern1 c=black v=m3n0;
pattern2 c=black v=m3n90;
%let except = (where=(state not in (72,2,15)));
proc gmap map=mystates &except. data=mystates &except.;
   id state;
   choro myvar;
run;
quit;

goptions reset=all;
%let no = 48;
proc gmap map=maps.counties (where =(state=&no.)) data=maps.counties (where =(state=&no.));
   id county;
   choro county;
run;
quit;

由于粒度不同,我不能简单地在 proc gmap 中使用 2 个 choro 语句:请注意两个 choro 语句的顺序有多重要。一个总是透支另一个。

data mytry;
set mystates &except. maps.county (where =(state=&no.));
run;

pattern1 c=black v=m3n0;
pattern2 c=black v=m3n90;
proc gmap map=mytry data=mytry all;
   id state county;
   choro myvar;
   choro county;

run;
quit;

如何同时显示线条和颜色?

4

0 回答 0