A quick and dirty way to show colours in a plot.
show_col(colours, labels = TRUE, borders = NULL, cex_label = 1, ncol = NULL)
| colours | A character vector of colours |
|---|---|
| labels | Label each colour with its hex name? |
| borders | Border colour for each tile. Default uses |
| cex_label | Size of printed labels, as multiplier of default size. |
| ncol | Number of columns. If not supplied, tries to be as square as possible. |