Skip to contents

`theme_eyesim()` is the house theme shared by all eyesim plots: plain background, light major grid, left-aligned title block, and a small grey caption for provenance notes. `theme_eyesim_spatial()` is the variant used for stimulus-space plots (scanpaths, density maps): no axes or grid, and a thin frame marking the stimulus extent.

Usage

theme_eyesim(base_size = 10, base_family = "")

theme_eyesim_spatial(base_size = 10, base_family = "")

Arguments

base_size

Base font size in points.

base_family

Base font family.

Value

A [ggplot2::theme()] object.

Details

Both return ordinary ggplot2 themes, so they can be added to any plot and further modified with [ggplot2::theme()].

Examples

library(ggplot2)
ggplot(mtcars, aes(wt, mpg)) + geom_point() + theme_eyesim()