Skip to content

michbur/stormlight-ggplot2

Repository files navigation

Alethi font in ggplot2

This repository contains:

library(ggplot2)
library(showtext)
#> Loading required package: sysfonts
#> Loading required package: showtextdb

font_add(family = "AlethiTS_lined", regular = "AlethiTS Fontv2/AlethiTS_lined.ttf")

showtext_auto()

dat <- read.csv("stormlight-blushes.csv")

p <- ggplot(dat, aes(x = char, y = blushes)) +
  geom_col() +
  scale_x_discrete("Character") +
  scale_y_continuous("Number of blushes") +
  coord_flip() +
  theme_bw() +
  theme(legend.position = "bottom",
        axis.title = element_text(family = "AlethiTS_lined"),
        axis.text.y = element_text(family = "AlethiTS_lined", size = 3))

Journey before destination.

About

Alethi font from Brandon Sanderson's Stormlight Archive and example usage in R

Topics

Resources

Stars

Watchers

Forks

Languages