Rdocumentation
powered by
Learn R Programming
scales (version 0.4.1)
show_col: Show colours.
Description
A quick and dirty way to show colours in a plot.
Usage
show_col(colours, labels = TRUE, borders = NULL)
Arguments
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
border
argument of
rect
. The default means
par("fg")
. Use
border = NA
to omit borders.