I have a series of graphs that I want on one page. I first use the command layout to specify my plot layout:
layout(matrix(c(1,1,2,2,1,1,2,2,3,4,5,6),3,4,byrow=TRUE))
For plot 1, I have something like:
plot(Easting,Northing, pch=16, col=grey(cex.size)) #The cex.size colours my dots according to some value
Now I want to draw a nested plot on plot 1, but so far not go to plot 2. I tried to execute the code:
par(fig=c(0.75, 1, 0, 0.25), new = T)
plot(spp.tmp[,1:2], col=cols[spp.tmp[,3]+1], pch=16)
par(fig=c(0,1,0,1))
But this does not work, as the team par(fig())overwrites my layout, and the insertion schedule appears in the lower corner of my common figure, and not just in the lower corner of schedule 1.