plot_palette {ympes} | R Documentation |
Plot a colour palette
Description
plot_palette()
plots a palette from a vector of colour values (name or hex).
Usage
plot_palette(values, label = TRUE, square = FALSE)
Arguments
values |
Vector of named or hex colours. |
label |
Do you want to label the plot or not? If |
square |
Display palette as square? |
Value
The input (invisibly).
Examples
plot_palette(c("#5FE756", "red", "black"))
plot_palette(c("#5FE756", "red", "black"), square=TRUE)
[Package ympes version 1.3.0 Index]