Re: [R] Map Antarctica

2013-06-05 Thread Pascal Oettli
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() +

Re: [R] Map Antarctica

2013-06-05 Thread Michael Sumner
You have mixed your x with your y, try this: map("worldHires","Antarctica",ylim=c(-90,-60),xlim=c(-180,180),col="gray90",fill=TRUE) I tend not to use maps/mapdata if I can help it (there are problems as you can see, though there is support for projections with mapproject, see ?map), if you want

[R] Map Antarctica

2013-06-05 Thread ejb
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 d