Dear Users,
I prepared the point map of firm location (2 headquarters and 5 subsidiaries) using the code below and have two questions. (1) how could I present firm headquarters and subsidiaries differently on the map, say triangles for headquarters and dots for subsidiaries (they are currently all triangles)? (2) Why is the map so small and how could I make it larger? Thank you very much for your time and help. Lynn.
I prepared the point map of firm location (2 headquarters and 5 subsidiaries) using the code below and have two questions. (1) how could I present firm headquarters and subsidiaries differently on the map, say triangles for headquarters and dots for subsidiaries (they are currently all triangles)? (2) Why is the map so small and how could I make it larger? Thank you very much for your time and help. Lynn.
Code:
clear input clon clat -86.82805 33.527872 -86.260844 32.331872 -149.7621 61.1919 -147.56838 64.81859 -112.08791 33.494514 -114.08271 35.285985 -92.294471 34.766541 end rename clon _X rename clat _Y save location, replace /*******/ copy "https://www2.census.gov/geo/tiger/GENZ2018/shp/cb_2018_us_county_500k.zip" "cb_2018_us_county_500k.zip", replace unzipfile "cb_2018_us_county_500k.zip", replace shp2dta using cb_2018_us_county_500k, data("us-attr.dta") coord("us-coord.dta") genid(id) replace use "us-attr.dta", clear spmap using "us-coord.dta" if STATEFP!="15" & STATEFP!="60" & STATEFP!="66" & STATEFP!="69" & STATEFP!="72" & STATEFP!="78", id(id) point(data("location.dta") x(_X) y(_Y) shape(triangle) size(*0.5) fcolor(red) ocolor(white) osize(vvthin)) graph save Graph.gph, replace
Comment