Is there a w开发者_如何学Goay to change the font size of facet labels in ggplot
? I googled and found that the issue was yet on Hadley's to-do list. I wonder if there is a workaround or any news on this issue?
This should get you started:
R> qplot(hwy, cty, data = mpg) +
facet_grid(. ~ manufacturer) +
theme(strip.text.x = element_text(size = 8, colour = "orange", angle = 90))
See also this question: How can I manipulate the strip text of facet plots in ggplot2?
精彩评论