man/figures/hex-make.R

library(hexSticker)
library(ggplot2)


s <- ggplot() + geom_hexagon(
  size = 1.2, fill = "#1E1E1E",
  color = "#1ABCFE"
) +
  theme_void()


ggsave("inst/figures/baseplot.png", width = 43.9,
              height = 50.8, units = "mm", dpi = 300)

Try the figma package in your browser

Any scripts or data that you put into this service are public.

figma documentation built on Jan. 6, 2023, 5:11 p.m.