Description Usage Arguments Examples
View source: R/vis-move-legend.R
A convenience wrapper to move a ggplot2
legend
1 | move_legend(where = "none")
|
where |
One of "none", "left", "right", "bottom", "top", or two-element numeric vector (default = "none") |
1 2 3 4 | mtcars %>%
ggplot(aes(wt, disp))+
geom_point(aes(col = mpg))+
move_legend("left")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.