Advertisement
Guest User

Untitled

a guest
Jun 20th, 2019
224
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
R 0.60 KB | None | 0 0
  1. install.packages('ggmap')
  2. install.packages('maptools')
  3. install.packages('maps')
  4. install.packages('mapproj')
  5. library(ggmap)
  6. library(maptools)
  7. library(maps)
  8. library(mapproj)
  9.  
  10. # ACHTUNG:    ändert fill="gray50"  colour="gray50"  color="blue"
  11. #mp <- NULL
  12. mapWorld <- borders("world", colour="gray50", fill="gray50") # create a layer of borders
  13. mp <- ggplot() +   mapWorld
  14. mp <- mp + coord_map(xlim = c(-30, 50),ylim = c(30, 60))
  15.  
  16. N_Koordinate <- as.numeric(N_Koordinate)
  17. E_Koordinate <- as.numeric(E_Koordinate)
  18.  
  19. mp <- mp+ geom_point(aes(x=E_Koordinate, y=N_Koordinate) ,color="blue", size=3)
  20. mp
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement