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. Thanks a lot Julien
Map with no political border
3 messages · Julien Million, Jim Lemon
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
Fantastic Jim! Thanks a lot Julien ___________________________ Julien Million Independent Fisheries Consultant
On 30/07/14 11:31, "Jim Lemon" <jim at bitwrit.com.au> wrote:
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