sm_classic: A classical theme.

View source: R/sm_classic.R

sm_classicR Documentation

A classical theme.

Description

It has x and y axis but no grids.

Usage

sm_classic(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 as a ggplot2 object.

Examples

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


smin95/sesR documentation built on Feb. 3, 2025, 10:51 p.m.