Hi Jason,

> Well, one last questions about stack plot (please forgive the lame example
> below).  I thought the below allow me to resize the the "title" of the
> stacked histogram, but no luck.  Any suggestions as to the modificaiton
> necessary to get it to work?  Right now the title is obscured by the plot
> and my boss will be none too happy.  Thanks again.

Yes, that's a really stupid bug that I accidentally introduced in the
latest version.  You can fix it with:

qplot(mpg, wt, data = mtcars, main = "My title") + opts(plot.title =
theme_text(vjust = 0, size = 16))

or by adding a new line to the end of the title:

qplot(mpg, wt, data = mtcars, main = "My title\n")

Regards,

Hadley
-- 
http://had.co.nz/

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to