开发者

facet label font size [duplicate]

开发者 https://www.devze.com 2023-01-07 21:14 出处:网络
This question already has answers here: How can I manipulate the strip text of facet_grid plots? (3 answers)
This question already has answers here: How can I manipulate the strip text of facet_grid plots? (3 answers) Closed 3 years ago.

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?

0

精彩评论

暂无评论...
验证码 换一张
取 消