add_colorbar
add colorbar legend
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
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.