eyeris_color_palette: Default color palette for eyeris plotting functions

View source: R/constants.R

eyeris_color_paletteR Documentation

Default color palette for eyeris plotting functions

Description

A custom color palette designed for visualizing pupil data preprocessing steps. This palette is based on the RColorBrewer Set1 palette and provides distinct, visually appealing colors for different preprocessing stages.

Usage

eyeris_color_palette()

Details

The palette includes 7 colors optimized for:

  • High contrast and visibility

  • Colorblind-friendly design

  • Consistent visual hierarchy across preprocessing steps

  • Professional appearance in reports and publications

Colors are designed to work well with both light and dark backgrounds and maintain readability when overlaid in time series plots.

Value

A character vector of 7 hex color codes representing the default eyeris color palette

Examples

# get the default color palette
colors <- eyeris_color_palette()
print(colors)

# use in a plot
plot(1:7, 1:7, col = colors, pch = 19, cex = 3)


eyeris documentation built on July 3, 2025, 9:08 a.m.