demPalettes()

Scientific results for this function.

Function index

Pass a preset name to the terrain.palette argument of createHor. Use demPalettes("standalone") to inspect the colours in that preset. Temperate uses green and ochre, arid uses sand and red-brown, alpine runs from forest greens to pale rock and white, and coastal pairs sand and grass with a deep-blue to turquoise water ramp. Relief gives land one neutral tint for inspecting slope shading. Each preset has its own sea_cols vector. Land stops are ordered low to high and water stops deep to shallow. createHor treats elevations at or below sea_level as water for colouring. An inland depression below that threshold also receives the water tint. sea_level=NULL uses the land ramp for all elevations.

Interpretation and limits. Terrain colour, shading and cropping can make a landform easier to recognise. Evaluate the profile at the archaeological bearing for a numerical claim about horizon altitude.

Implementation arguments, return value and documented modes
Argument Formal default Behaviour in this interface
name NULL

Optional exact preset name. Omit to retrieve the full catalogue.

Return value

With a name, a list containing land_cols and sea_cols. Without a name, a named list of those pairs.

Implementation. R/dem-palettes.R. Full function help · Terrain horizons and panoramas outline · Generating a terrain panorama