I want to make three plots in one graph with a title and only one x label, but when I modify the margins to include these labels the plots end up with different sizes.
This is what I tried:
par(mfrow=c(3,1), mar=c(1.5,5,3,2) + 0.1)
plot(1:10, xaxt='n', main = "Some title")
par(mar=c(1.5,5,0,2) + 0.1)
plot(1:10, xaxt='n')
par(mar=c(5,5,0,2) + 0.1)
plot(1:10, xlab = "Some x label")
And the plots looks like this:
As you can see the second plot has a different size. What I want is that all end up having the same size.
Any help would be really appreciated!
par(mar = c(0,0,0,0), oma = c(5.1,4.1,4.1,2.1))
all the time! – MichaelChirico