On this figure I removed axis.text.x by:
g + theme(axis.text.y = element_text(size = 10),
axis.text.x = element_blank()) +
labs(x ="Percent of respondents")
But the gap of former axis.text.x is still there. How to remove it?
On this figure I removed axis.text.x by:
g + theme(axis.text.y = element_text(size = 10),
axis.text.x = element_blank()) +
labs(x ="Percent of respondents")
But the gap of former axis.text.x is still there. How to remove it?

Solved myself:
in