Graphics Reference
In-Depth Information
Figure 10-11. Customized legend title appearance
Discussion
It's also possible to specify the legend title's appearance via guides() , but this method can be a
bit verbose. This has the same effect as the previous code:
p + guides(fill = guide_legend(title.theme =
element_text(face = "italic" , family = "times" , colour = "red" , size = 14 )))
See Also
See Changing the Appearance of Text for more on controlling the appearance of text.
Search WWH ::




Custom Search