완벽하게 사각형이 아니며 직사각형 모양의지도를 만들고 싶습니다.ggmap지도 크기 변경
require(ggmap)
tenmile <- get_map(location = c(lon = -122.486328, lat = 48.862813),
color = "color",
source = "google",
maptype = "roadmap",
zoom = 12)
tenmile.map <- ggmap(tenmile,
extent = "device",
ylab = "Latitude",
xlab = "Longitude")+ggtitle("GEOMean for Data from Oct 2013-Nov 2014")
tenmile.map + geom_point(data=pp, aes(x=lon, y=lat, size=geomean), color="red", alpha=0.5) +
geom_text(data=pp, aes(x=lon, y=lat, label = site), size=3, vjust = 1.25, hjust = -0.1)
나는 내가 얻은 것과 내가 원하는 것의 사진을 게시 할 것이지만 이미지를 게시하는 데 충분한 평판 포인트가 없습니다. = - (
ggmap이 [비표준지도를 작성하지 않은 것 같습니다] (http://stackoverflow.com/questions/19438316/r-ggmap-why-can-i-create-rectangular-maps-using-the- 파일 이름 - 속성 - but - not),하지만 어쩌면 당신은 더 큰지도, [이미지 자르기] (http://www.image.ucar.edu/~nychka/Fields/Help/image2lz.html)와 [use 그것은 배경으로] (http://stackoverflow.com/questions/12918367/in-r-how-to-plot-with-a-png-as-background). 좌표를 정렬하는 것이 힘들 것 같아요. (아마도 여기) (https://github.com/hadley/ggplot2/wiki/Crime-in-Downtown-Houston,-Texas-%3a-Combining-ggplot2 구글 맵스). – andybega