library(ggplot2) library(dplyr) library(ggalt) library(ggthemes)
world <- map_data("world") world <- world[world$region != "Antarctica",]
dat <- read.csv("CLIWOC15.csv") dat <- filter(dat, Nation != "Sweden")
ggplot()+ geom_map(data=world, map=world, aes(x=long, y=lat, map_id=region), fill="#00518E", color="white", fill="#7f7f7f", size=0.05, alpha=1/4)+ geom_point(data=dat,aes(x=Lon3, y=Lat3, color=Nation),size=0.15, alpha=1/100)+ scale_color_tableau()+ coord_proj("+proj=wintri")+ facet_wrap(~Nation)+ theme_map()+ theme(strip.background=element_blank())+ theme(legend.position="none") ggsave('map.png',w=500,h=450)
|