powered by
This function plots a list of colours
plot_palette(fill, colour = "black", id = NA, limit = 12)
Vector. List of colours for fills.
Vector. List of colours for colours.
Vector. ID for each color.
Integer. Show only first n values.
Plot with fill colours and colour counter-colours if provided.
fill
colour
Other Themes: gg_fill_customs(), lares_pal(), theme_lares()
gg_fill_customs()
lares_pal()
theme_lares()
# NOT RUN { # Simply pass a vector pal <- lares_pal("simple") plot_palette(pal) # Or fill + color named vector pal <- lares_pal("pal") plot_palette(fill = names(pal), colour = as.vector(pal)) # }
Run the code above in your browser using DataLab