[R] World plots and clipping regions

Saptarshi Guha saptarshi.guha at gmail.com
Fri Mar 25 22:11:15 CET 2011


Hello,

Given the following display

library(maps)
library(mapproj)

m <- map('world',plot=FALSE)
map('world',proj='mollweide',bg=bgcolor[2],col='white')
map.grid(col=2,lim=c(-175,-175,-180,180),label=FALSE,lty=2)

Is there a way to color the region outside the dotted red border?

Thank you
Saptarshi



More information about the R-help mailing list