Learn R Programming

eyeris (version 2.1.1)

eyeris_color_palette: 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()

Arguments

Value

A character vector of 7 hex color codes representing the default 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.

Examples

Run this code
# 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)

Run the code above in your browser using DataLab