I am plotting 5 rasters side by side. The figure represents a linear regression model, and so the plot should represent r1 ~ r2 + r3 + r4 + r5
. I am using par()
to line up the 5 rasters and would like to now add the text signs ~,+,+,+
on top in the white gaps.
Example of a multiplot:
par(mfrow = c(1,5))
plot(1, type="n", xlab="", ylab="", xlim=c(0, 10), ylim=c(0, 10))
plot(1, type="n", xlab="", ylab="", xlim=c(0, 10), ylim=c(0, 10))
plot(1, type="n", xlab="", ylab="", xlim=c(0, 10), ylim=c(0, 10))
plot(1, type="n", xlab="", ylab="", xlim=c(0, 10), ylim=c(0, 10))
plot(1, type="n", xlab="", ylab="", xlim=c(0, 10), ylim=c(0, 10))