fancy_sci: Format ggplot2 axis labels to fancy scientific.

View source: R/utils.R

fancy_sciR Documentation

Format ggplot2 axis labels to fancy scientific.

Description

Format ggplot2 axis labels to fancy scientific.

Usage

fancy_sci(l)

Arguments

l

A simple feature object.

Value

A text string as an expression.

Examples

p <- ggplot(mtcars, aes(wt, mpg))
p + geom_point() + scale_y_continuous(labels = fancy_scientific)

kstierhoff/atm documentation built on Jan. 30, 2025, 11:21 p.m.