This page aims to provide useful R code to customize the strips of a
ggplot2 plots when using faceting. For other ggplot2
customization, visit the
Here we want to modify non-data components, which is often done trough
theme() command. This page is strongly inspired from
the help page of ggplot2 (
?theme). Also, do not hesitate to
visit the very strong
for more information.
Chart 1 is a really basic plot relying on the
mtcars dataset. The 3 following charts show how to
strip background, text, and how to modify the
space between sections.