si_style_ygrid: SI style plot with only y-axis gridlines

View source: R/si_themes.R

si_style_ygridR Documentation

SI style plot with only y-axis gridlines

Description

Incorporates the default si_style graph and modifies it to include on y-axis gridlines. Useful for when you are highlighting a horizontal comparison.

Usage

si_style_ygrid(...)

Arguments

...

inherits parameters from si_style()

Examples

## Not run: 
library(systemfonts)
library(ggplot2)
ggplot(iris, aes(Sepal.Length, y = Sepal.Width, colour = Species)) +
  geom_point() + si_style_ygrid()

## End(Not run)

USAID-OHA-SI/glitr documentation built on July 5, 2024, 3:24 p.m.