plot_color_matrix | R Documentation |
Plot color matrix
plot_color_matrix(raster)
raster |
A matrix of colors (in hex format, e.g. "#ffffff"). |
A ggplot object.
(colors <- matrix(c("#008744", "#0057e7", "#d62d20", "#ffa700"), 2))
plot_color_matrix(colors)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.