plt_theme_xy | R Documentation |
A theme with no minor grids in both axes
plt_theme_xy(base_size = 14, base_family = "", margin = 0.35)
base_size |
A numeric single value (default = 14), that will be the base font size |
base_family |
A character single value (default = ”), that will be the base font family |
margin |
A numeric single value (default = 0.35), that will be the plot margin |
A ggplot2 object.
library(ggplot2)
plot <-
ggplot(mtcars,aes(hp,drat))+
geom_point()
plot
plot + plt_theme_xy()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.