The theming system in ggplot2 enables a user to control non-data elements of a ggplot object. It is composed of the following: theme elements , which refer to individual attributes of a graphic that are independent of the data, such as font size, axis ticks, appearance of grid lines or background color of a legend; theme element functions , which enables you to modify the settings of certain theme