Newlines can't, but atop's can.
qplot(1,1, geom="blank") +
labs(x = expression(atop(,paste("Distribution of node ages, ",
italic(gamma)))))
I wouldn't consider it an obvious solution, but a hack that works.
> Thanks, Scott
--
Brian S. Diggs, PhD
Senior Research Associate, Department of Surgery
Oregon Health & Science University
I may be missing something, but why do you need inserting a newline
rather than shifting the x title?
last_plot() + opts(axis.title.x = theme_text(vjust=-2),
plot.margin=unit(c(1, 1, 2, 0.5), "lines"))
b.
> --
> You received this message because you are subscribed to the ggplot2 mailing
> list.
> Please provide a reproducible example: http://gist.github.com/270442
>
> To post: email ggp...@googlegroups.com
> To unsubscribe: email ggplot2+u...@googlegroups.com
> More options: http://groups.google.com/group/ggplot2
>