Skip to contents

A convenience wrapper around grid that draws subtle, warm-toned grid lines matching the solaris theme. Best used after calling set_theme(theme = "solaris") and drawing a base R plot.

Usage

grid_solaris(nx = NULL, ny = NULL, col = "#e5ddd0", lty = "dotted", ...)

Arguments

nx

Integer or NULL. Number of vertical grid lines. Default is NULL (automatic).

ny

Integer or NULL. Number of horizontal grid lines. Default is NULL (automatic).

col

Character. Color of grid lines. Default is "#e5ddd0" (solaris grid tan).

lty

Character or integer. Line type. Default is "dotted".

...

Additional arguments passed to grid.

Value

Invisible NULL.

Examples

if (FALSE) { # \dontrun{
set_theme(theme = "solaris")
plot(1:10, main = "Base R with Solaris Theme")
grid_solaris()
} # }