plot_color_matrix: Plot color matrix

Description Usage Arguments Value Examples

Description

Plot color matrix

Usage

1

Arguments

raster

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

Value

A ggplot object.

Examples

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

privefl/pixelart documentation built on May 29, 2019, 7:39 a.m.