Data Communication
15:30-17:00
View slides in full screen | Run the code yourself
Outline
- Complete Themes
- Modify Theme Elements
- Non-Default Typefaces
- Set Themes Globally
- Custom Themes
- Exercise
Recap
- apply complete themes via
theme_*()
and modify theme defaults viatheme()
- change the appearance for all plots with
theme_set()
andtheme_update()
{systemfonts}
allows to use non-default typefaces and register font variants- use the source code of complete themes to create a custom theme
- add additional arguments to allow for different styles and settings
Exercise
- Create a corporate or funny custom theme.
- Make use of an existing complete theme to get started.
- Pick a non-default font (or multiple) for your theme.
- Optional: Try working with font variants.
- Optional: Add other helpful arguments to your
theme_*
function.
- Showcase your theme using some example graphics.
- Save the plots to disk and share them with the group.
- Did you add some additional arguments? Feel free to share your thoughts on “why” and “how”.