I like very much the style of the titles of facet plots:
require(ggplot2)
df <- data.frame(x = rnorm(1E3), labels = as.factor(c(rep("plot1",500), rep("plot2",500))));
ggplot(df, aes(x=x) ) + geom_histogram() +facet_wrap(~labels)
And I would like to format other plots' titles in a similar fashion. When I just add ggtitle() to the plot, I get the following:
ggplot(df, aes(x=x) ) + geom_histogram() +ggtitle('plot1 and plot2')
How can I format the ggtitle title to look like the facet_wrap title?
Thank you!


