Change interlinear space in ggplot title?
ggplot2, r
Solution
you can do something like this ( option lineheight to modify line spacing)
p <- qplot(mpg, wt, data = mtcars)
p <- p + ggtitle("whatever \n comes after this") +
theme(plot.title = element_text(lineheight=.1))
p
Problem
If I use `\n` with `labs(title="whatever \n comes after this")` I end up with quite a big space between the lines. Is there a way to influence it? (I mean except font-size of the title itself).