pt2mm: Convert font sizes in pt to mm

View source: R/violin_functions.R

pt2mmR Documentation

Convert font sizes in pt to mm

Description

Convert font sizes in pt to mm

Usage

pt2mm(pt)

Arguments

pt

A numeric font size in pt.

Value

A numeric font size in mm.

Examples

pt2mm(12)

ggplot(mtcars) +
  geom_text(aes(x = mpg, y = wt, label = rownames(mtcars)),
            size = pt2mm(7))

AllenInstitute/L5_VEN documentation built on July 31, 2022, 6:32 p.m.