tmap地图大小非常小

时间:2018-09-03 23:59:27

标签: r maps tmap

从下面生成的地图非常小(几乎看不到)。有办法“放大”吗?

library(tmap)
library(maptools)
library(tigris)
a=read_shape("sub_div.shp", as.sf=TRUE, stringsAsFactors=FALSE)

city.list=c("Mississauga", "Toronto", "Brampton", "Etobicoke","Markham", "Richmond Hill", "Oshawa", "Pickering",
  "Whitby", "Ajax", "Caledon", "Oakville", "Burlington", "Halton Hills", "Milton", "King", "Vaughan",
  "East Gwillimbury", "Whitchurch-Stouffville", "Brock", "Uxbridge", "Scugog", "Clarington", "Aurora",
  "Newmarket", "Georgina")

gta= a %>% filter(CSDNAME %in% city.list)

tm_shape(gta)+tm_polygons()

0 个答案:

没有答案