Skip to content
Prev 25149 / 29559 Next

centering map on Pacific Basin instead of Greenwich

On Wed, 30 Nov 2016, Chris Lusk wrote:

            
mapdata comes with world2Hires, which is Pacific centred. However, the 
polygons are not split at 0, so wrap around if you need to fill. I think 
your xlim= values are incorrect too, I get a Pacific basin from:

map("world2Hires", xlim=c(135, 290), ylim=c(-60,70), lty=1,
  interior=FALSE)

but as lines not filled polygons.

Roger