[R] Map Antarctica
kridox at ymail.com
Thu Jun 6 03:24:02 CEST 2013
There is a problem with xlim and ylim.
You also might have a look at "ggplot2"
world <- map_data("world")
worldmap <- ggplot(world, aes(x=long, y=lat, group=group)) +
scale_y_continuous(breaks=(-2:2) * 30) +
scale_x_continuous(breaks=(-4:4) * 45)
worldmap + coord_map("ortho", orientation=c(-90, 0, 0))
On 05/06/13 22:00, ejb wrote:
> Hey, I'm new with R and I'm attempting to map and then plot points on a map
> of Antarctica with help from some code at the following link. Link
> After downloading the packages here is the code I used. I feel like the
> problem has to do with the coordinates since I get a very small image that
> appears to be only a small portion of the continent (I want the whole
> thing). Thanks in advance!
> View this message in context: http://r.789695.n4.nabble.com/Map-Antarctica-tp4668713.html
> Sent from the R help mailing list archive at Nabble.com.
> R-help at r-project.org mailing list
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
More information about the R-help