《stata命令之地图生成》由会员分享,可在线阅读,更多相关《stata命令之地图生成(21页珍藏版)》请在金锄头文库上搜索。
1、 空间地图的生成-stata命令 Thursday July 10 10:36:05 2014 Page 1_ _ _ _ _(R)/_ / _/ / _/ _/ / /_/ / /_/ Statistics/Data Analysis help spmap Version 1.2.0Titlespmap Visualization of spatial dataSyntaxspmap attribute if in using basemap ,basemap_optionspolygon(polygon_suboptions )line(line_suboptions )point(poi
2、nt_suboptions )diagram(diagram_suboptions )arrow(arrow_suboptions )label(label_suboptions )scalebar(scalebar_suboptions )graph_options basemap_options DescriptionMain* id(idvar) base map polygon identifierCartogramarea(areavar ) draw base map polygons with area proportional to variable split split m
3、ultipart base map polygonsmap(backgroundmap ) draw background map defined in Stata dataset backgroundmapmfcolor(colorstyle ) fill color of the background mapmocolor(colorstyle ) outline color of the background mapmosize(linewidthstyle ) outline thickness of the background mapmopattern(linepatternsty
4、le ) outline pattern of the background mapChoropleth mapclmethod(method) attribute classification method, where method is one of the following: clnumber(#) number of classesclbreaks(numlist ) custom class breakseirange(min max ) attribute range for eqint classification methodkmiter(#) number of iter
5、ations for kmeans classification methodndfcolor(colorstyle ) fill color of empty (no data) base map polygonsndocolor(colorstyle ) outline color of empty (no data) base map polygonsndsize(linewidthstyle ) outline thickness of empty (no data) base map polygonsndlabel(string) legend label of empty (no
6、data) base map polygonsFormatfcolor(colorlist ) fill color of base map polygonsocolor(colorlist ) outline color of base map polygonsosize(linewidthstyle _list) outline thickness of base map polygonsLegendlegenda(on|off) display/hide base map legendlegtitle(string) base map legend titleleglabel(strin
7、g) single-key base map legend labellegorder(hilo|lohi) base map legend orderlegstyle(0|1|2|3) base map legend stylelegjunction(string) string connecting lower and upper class limits in base map legend labels when legcount display number of base map polygons belonging to each class* Required optionpo
8、lygon_suboptions DescriptionMain* data(polygon ) Stata dataset defining one or more supplementary polygons to be superimposed onto the base mapselect(command ) keep/drop specified records of dataset polygonby(byvar_pl ) group supplementary polygons by variable byvar_pl空间地图的生成-stata命令 Thursday July 1
9、0 10:36:05 2014 Page 2Formatfcolor(colorlist ) fill color of supplementary polygonsocolor(colorlist ) outline color of supplementary polygonsosize(linewidthstyle _list) outline thickness of supplementary polygonsLegendlegenda(on|off) display/hide supplementary-polygon legendlegtitle(string) suppleme
10、ntary-polygon legend titleleglabel(string) single-key supplementary-polygon legend labellegshow(numlist ) display only selected keys of supplementary-polygon legendlegcount display number of supplementary polygons belonging to each group* Required when option polygon() is specifiedline_suboptions De
11、scriptionMain* data(line) Stata dataset defining one or more polylines to be superimposed onto the base mapselect(command ) keep/drop specified records of dataset lineby(byvar_ln ) group polylines by variable byvar_lnFormatcolor(colorlist ) polyline colorsize(linewidthstyle _list) polyline thickness
12、pattern(linepatternstyle _list) polyline patternLegendlegenda(on|off) display/hide polyline legendlegtitle(string) polyline legend titleleglabel(string) single-key polyline legend labellegshow(numlist ) display only selected keys of polyline legendlegcount display number of polylines belonging to each group* Required when option line() is specifiedpoint_suboptions DescriptionMaindata(point) Stata dataset defining one or more points to be superimposed onto the base mapselect(comm