sm_vgrid: Minimalistic theme with vertical major grids

View source: R/sm_vgrid.R

sm_vgridR Documentation

Minimalistic theme with vertical major grids

Description

This theme has major vertical grids.

Usage

sm_vgrid(legends = TRUE, borders = TRUE)

Arguments

legends

If the legend needs to be displayed, the input should be TRUE. If the legend is not needed, the input should be FALSE.

borders

If the border needs to be displayed, the input should be TRUE. If the border is not needed, the input should be FALSE.

Value

Returns a background theme with major vertical grids (ggplot2 output).

Examples

library(ggplot2)
library(smplot2)

ggplot(data = mpg) +
geom_point(mapping = aes(x = displ, y = hwy, color = class)) +
sm_vgrid()


smin95/sesplot documentation built on July 2, 2024, 9:35 a.m.