This simple function allows quick visualisation of colours in grafify palettes and their hex codes. It uses plot_bar_sd
and some arguments are similar and can be adjusted.
plot_grafify_palette(palette = "okabe_ito", bthick = 0, fontsize = 14, ...)
name of grafify palettes: "okabe_ito", "vibrant, "bright", "pale", "muted", "dark", "light", "contrast" or "all_grafify".
thickness of bars; passed on plot_bar_sd
.
font size.
any additional parameters to pass to plot_bar_sd
This function returns a ggplot2
object of class "gg" and "ggplot".
plot_grafify_palette("pale")
plot_grafify_palette("contrast")