You can choose how your maps should be arranged without layout()
. par(new=TRUE)
and par(plt=...)
are keys.
You made a pretty schedule! However, given the data that I plotted, I would not have made a continuous color bar.
library("maps") par(list(mar=c(0,0,4,0), bg="black")) plot(0:1, 0:1, type="n", xlab="", ylab="", axes=FALSE) title("Trois cartes de France se chevauchant", col.main="white") # Random colors to highlight the overlapping. set.seed(13) par(list(new=TRUE, plt=c(.6, 1, .1, .9))) plot(map("france", plot=FALSE), type="l", axes=FALSE, xlab="", ylab="", col=sample(c("white", "blue", "red"), 1)) par(list(new=TRUE, plt=c(.3, .7, .1, .9))) plot(map("france", plot=FALSE), type="l", axes=FALSE, xlab="", ylab="", col=sample(c("white", "blue", "red"), 1)) par(list(new=TRUE, plt=c(0, .4, .1, .9))) plot(map("france", plot=FALSE), type="l", axes=FALSE, xlab="", ylab="", col=sample(c("white", "blue", "red"), 1))
