Description Usage Arguments Value Author(s)
View source: R/method-scale-color.R
add colorbar legend
1 | add_colorbar(p, color, x = NULL, ymin = NULL, ymax = NULL, font.size = 4)
|
p |
tree view |
color |
output of scale_color function |
x |
x position |
ymin |
ymin |
ymax |
ymax |
font.size |
font size |
ggplot2 object
Guangchuang Yu
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.