show_cols {rcolors} | R Documentation |
Show list of colors
Description
Show list of colors
-
show_cols
: show list of colors -
show_cols_brewer
: show list of colors in RColorBrewer style
Usage
show_cols(colors_list, margin = 8, fontsize = 1, family = NULL)
show_cols_brewer(colors_list)
show_col(colors, labels = TRUE, borders = NULL, cex_label = 1, nrow = NULL)
Arguments
colors_list |
A list objects filled with colors_list or a color vector |
margin |
margin in the left |
family , fontsize |
font family and size of color names in the left |
colors |
a character vector of colors |
labels |
boolean, whether to show the hexadecimal representation of the colours in each tile |
borders |
colour of the borders of the tiles |
cex_label |
size of printed labels, works the same as cex parameter of |
nrow |
integer, number of rows |
Examples
print(names(colors_group))
show_cols(colors_group$rainbow, margin = 14)
[Package rcolors version 0.1.0 Index]