[R] Map with no political border
Jim Lemon
jim at bitwrit.com.au
Wed Jul 30 11:31:15 CEST 2014
On Wed, 30 Jul 2014 11:18:13 AM Julien Million wrote:
> Hi,
>
> I would like to plot a map without political borders, but not black... I
> am mainly using the maps package, and wanted to know if it was
possible
> with this one, or if I should use something else, like shape file.
>
> If I do
>
> library(maps)
> map(fill=T)
>
> I have a map of the world filled in black. I would like to do the same but
> with another color and with no political borders (only filled land areas).
> If I do
>
> map(fill=T, col=³blue²)
>
> the borders are automatically added, and I cannot find a way to
remove
> them as the parameters boundary or interior are ignored if fill is true.
>
Hi Julien,
Try this:
par(fg="blue")
map("world",fill=TRUE,col="blue")
Jim
More information about the R-help
mailing list