Skip to contents

Plot Basics

finalise_plot()
Arrange alignment and save SCW ggplot chart

Theme

Style ggplot figures using an SCW theme.

theme_scw()
Add SCW theme to ggplot figures

Colour Scales

Distinguish how colour is used to represent data values visually. Use scale_*_sequential() to encode numerical information that has a natural order (where data can be ordered from high to low, or vice versa), scale_*_diverging() to encode numerical information that is ordered and has a meaningful midpoint (for example, scales in a survey), and scale_*_qualitative() to encode categories that have no natural order.

Colour Palettes

pal_diverging()
Diverging Colour Palettes
pal_qualitative()
Qualitative Colour Palettes
pal_ramp()
Generate Colour Palette
pal_sequential()
Sequential Colour Palettes
palettes
Complete list of all SCW colour palettes

Plot Images

Incorporate images into plot figures.

get_images()
get_images
save_images()
save_images

Format Labels

add_commas()
Format numbers to add commas to thousands