Description Usage Arguments See Also Examples
Theme intended to make ggplot2 more readable when used in presentation or papers. Background and major grid lines were dimed and minor grid lines removed to focus the attention on the data.
1 | theme_readable(base_size = 12, legend_position = "right")
|
base_size |
base font size |
legend_position |
position of the legend ("none", "left", "right", "bottom", "top", or two-element numeric vector) |
1 2 3 4 5 6 | ## Not run:
ggplot(diamonds, aes(x = price, y = carat, color = cut)) +
geom_point(alpha = 0.5) +
theme_readable(legend_position = 'top')
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.