Skip to content
Prev 324815 / 398502 Next

Map Antarctica

Hi,

There is a problem with xlim and ylim.

map("worldHires","Antarctica",xlim=c(-180,180),ylim=c(-90,-60),col="gray90",fill=TRUE)


You also might have a look at "ggplot2"

library(ggplot2)
world <- map_data("world")
worldmap <- ggplot(world, aes(x=long, y=lat, group=group)) +
   geom_path() +
   scale_y_continuous(breaks=(-2:2) * 30) +
   scale_x_continuous(breaks=(-4:4) * 45)

worldmap + coord_map("ortho", orientation=c(-90, 0, 0))

Regards,
Pascal
On 05/06/13 22:00, ejb wrote: