plot_palette.RdDisplay a vector of hex colours (given as character strings).
plot_palette(colours, ncol = 2, width = 40, height = 10, xfraction = 0.99, yfraction = 0.95)
| colours | vector of hex colours e.g. |
|---|---|
| ncol | Number of columns |
| width, height | dimensions of each colour swatch |
| xfraction, yfraction | fill fraction of the swatch |