plot_color_matrix: Plot color matrix

View source: R/plot-colors.R

plot_color_matrixR Documentation

Plot color matrix

Description

Plot color matrix

Usage

plot_color_matrix(raster)

Arguments

raster

A matrix of colors (in hex format, e.g. "#ffffff").

Value

A ggplot object.

Examples

(colors <- matrix(c("#008744", "#0057e7", "#d62d20", "#ffa700"), 2))
plot_color_matrix(colors)

privefl/pixelart documentation built on Oct. 29, 2024, 10:13 a.m.