You can see examples in this page.
Notice that in theme_wsj example, xlab and ylab do not appear.
Here’s a non-ggthemes plot that includes labels:
ggplot(mtcars, aes(factor(cyl), mpg)) +
geom_point() +
xlab("Hello World: X axis") +
ylab("Hello World: Y axis")
But, when you add the theme_wsj theme, they disappear:
ggplot(mtcars, aes(factor(cyl), mpg)) +
geom_point() +
xlab("Hello World: X axis") +
ylab("Hello World: Y axis") +
theme_wsj()
If you look on source code of
theme_wsj()you can see that axis titles are set as blankSo one solution to get
xlabandylabto be shown is to add new theme element