Ochre is a brownish-yellow pigment that occurs naturally in soils across Australia. Historically, ochre has been used for artwork by many indigenous cultures, including the Aboriginal people of Australia.
The goal of
ochRe is to provide colour palettes inspired by Australian art, landscapes and wildlife. The palettes can be used in conjunction with
plot to provide colours to data plots. There are 16 different palettes (at the moment!), each one based on an iconic Australian artwork, landscape or creature. Some palettes are more suitable for displaying qualitative data, others will look fabulous used in sequential plots. More information can be found in the vignette, including which palettes work best for those with impaired colour vision.
# load the ochRe vignette vignette("ochre")
You can install
ochRe from github with:
# You need to install the 'devtools' package first devtools::install_github("ropenscilabs/ochRe")
This is a basic example of how to use the
namatjira_qual palette in a plot.
In this example we use the
winmar palette directly via the
colorRampPalette() function (for the base plot connoisseurs).
## basic example code pal <- colorRampPalette(ochre_palettes[["winmar"]]) image(volcano, col = pal(20))
Individual palettes can be visualised using the viz_palette function