show_col {scales} | R Documentation |
A quick and dirty way to show colours in a plot.
show_col(colours, labels = TRUE, borders = NULL, cex_label = 1)
colours |
a character vector of colours |
labels |
boolean, whether to show the hexadecimal representation of the colours in each tile |
borders |
colour of the borders of the tiles; matches the |
cex_label |
size of printed labels, works the same as |