Skip to content

Instantly share code, notes, and snippets.

@Ram-N
Created April 2, 2013 21:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Ram-N/5296350 to your computer and use it in GitHub Desktop.
Save Ram-N/5296350 to your computer and use it in GitHub Desktop.
#Using GGPLOT, plot the Base World Map
mp <- NULL
mapWorld <- borders("world", colour="gray50", fill="gray50") # create a layer of borders
mp <- ggplot() + mapWorld
#Now Layer the cities on top
mp <- mp+ geom_point(aes(x=visit.x, y=visit.y) ,color="blue", size=3)
mp
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment