plot_colors {plutor}R Documentation

plot colors

Description

plot colors

Usage

plot_colors(x, ncol = 10, show_name = TRUE)

Arguments

x

color values

ncol

color number of each row

show_name

use vector names as label, FALSE to show the color value

Value

ggplot object

Examples

plot_colors(gradient_colors(c("blue", "red"), 10))

[Package plutor version 0.1.0 Index]