tsm_theme: A ggplot2 theme for plotting tsort.info data.

View source: R/tsort_ggplot.R

tsm_themeR Documentation

A ggplot2 theme for plotting tsort.info data.

Description

Function to be used within ggplot2 calls or ggplot2 functions within the tsortmusicr package.

Usage

tsm_theme()

Value

A complete ggplot2 theme based on theme_bw(). Font size 14, text family "serif"

Examples

library(ggplot2)
p <- ggplot(albums, aes(x = year, y = final_score)) +
   geom_jitter(alpha = 0.7) +
   labs(title = "Final score by year")
p
p + tsm_theme()

fjodor/tsortmusicr documentation built on Jan. 26, 2025, 9:58 p.m.