scientific_10x: Display scientific notation labels

View source: R/utils.R

scientific_10xR Documentation

Display scientific notation labels

Description

Display scientific notation labels

Usage

scientific_10x(x)

Arguments

x

A number to be displayed as scientific notation.

Examples

library(ggplot2)

ggplot(mtcars, aes(x = disp, y = drat)) +
  geom_point() +
  facet_wrap(~cyl, scales = "free_x") +
  scale_x_continuous(labels = scientific_10x)

PMassicotte/ggpmthemes documentation built on June 18, 2022, 7:12 a.m.