[R-sig-Geo] simple topography in r

ani jaya g@@@uu| @end|ng |rom gm@||@com
Tue Nov 16 02:44:17 CET 2021


Dear r-sig-geo,

I need to plot a spatial map that shows a topography/elevation. It is
just to show a basic information so I do not need a high-resolution
map. I already googled and most of them use ggplot. Is there a
straightforward way to do this in base r? Any lead is appreciated.
Thank you so much.

Best regards,
Ani

#area of interest
library("maps")
map('world', xlim = c(100, 160), ylim = c(-45, -5),
    lwd=0.5, col = "grey95", fill = T, interior = T)
map.axes()



More information about the R-sig-Geo mailing list