scientific_10x | R Documentation |
Display scientific notation labels
scientific_10x(x)
x |
A number to be displayed as scientific notation. |
library(ggplot2) ggplot(mtcars, aes(x = disp, y = drat)) + geom_point() + facet_wrap(~cyl, scales = "free_x") + scale_x_continuous(labels = scientific_10x)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.