show_col

0th

Percentile

Show colours.

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.
Aliases
  • show_col
Documentation reproduced from package scales, version 0.4.1, License: MIT + file LICENSE

Community examples

Looks like there are no examples yet.