How to delete axis title in graphics in R?


I'm doing several regressions for the same variable X and plotting them together using the par(mfrow) command in R . But I want to put only one title on the X axis at the end of all my charts. I already know how to put the title, however I can't erase the titles of the X variable generated in each chart. Can someone help me?


You can set the x-axis label to empty using xlab="" inside plot .

If you want to remove the space left, you have to change the mar parameter:

par(mar=c(3, 4, 4, 2)) #A ordem é: embaixo, esquerda, topo, direita
plot(1:10, 1:10, xlab="")
Scroll to Top