add_colorbar | R Documentation |
add_colorbar
add_colorbar(
p,
g,
width = NULL,
height = NULL,
title = NULL,
space = "right",
legend.title = element_text(hjust = 0, vjust = 0, size = 14, family = "Times")
)
p |
a ggplot object |
g |
a grob object, colorbar |
width , height |
width and height of the colorbar |
title |
all title elements: plot, axes, legends ( |
space |
one of |
legend.title |
title of legend ( |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.