sm_minimal: A minimal theme (no grid) with borders.

View source: R/sm_minimal.R

sm_minimalR Documentation

A minimal theme (no grid) with borders.

Description

This theme has no major grid.

Usage

sm_minimal(legends = FALSE)

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.

Value

Returns a background theme that has no grids (ggplot2 output).

Examples


library(ggplot2)
library(smplot2)
ggplot(data = mpg) +
geom_point(mapping = aes(x = displ, y = hwy, color = class)) +
sm_minimal()


smin95/sesplot documentation built on Feb. 3, 2025, 10:52 p.m.