Description Usage Arguments Value Examples
Extension of the theme_ubuntu ggplot theme, but designed for maps.
1 2 3 | theme_umap(base_size = 12, base_family = "Ubuntu",
base_line_size = base_size/20, base_rect_size = base_size/20,
legend = "none")
|
base_size |
Font size. |
base_family |
Font family. |
base_line_size |
Line thickness. Relative to font size by default. |
base_rect_size |
Rectangle line thickness. Relative to font size by default. |
legend |
Location of legend. Can be removed ("none"), "bottom", "top", "left", "right". |
A ggplot theme.
1 2 3 4 5 | library(ggplot2)
ggplot(iris)+
geom_point(aes(x = Petal.Length, y = Petal.Width))+
theme_umap()
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.