Description Usage Arguments Value Examples
View source: R/visualization.R
Allows to adjust the numbers display on both axes for ggplot2 plots. The format is such that all digits are displayed.
1 |
l |
Labels |
Labels in the desired format
1 2 3 4 5 6 | library(ggplot2)
df <- data.frame(x=rnorm(100)/1000, y=rnorm(100)/1000)
ggplot(df, aes(x=x, y=y)) +
geom_point() +
scale_x_continuous(labels=allDigitsLabels) +
scale_y_continuous(labels=allDigitsLabels)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.