Skip to contents

This function generates a generative art ggplot object based on elevation data of a geographic area

Usage

contours(
  xmin = -3.27,
  xmax = -3.15,
  ymin = 54.43,
  ymax = 54.49,
  col_palette = MetBrewer::met.brewer("Hokusai3"),
  res = 50,
  line_col = "#0a2e57",
  linewidth = 0.5
)

Arguments

xmin

Minimum x value og geographic area. Default -3.27.

xmax

Maximum x value og geographic area. Default -3.15.

ymin

Minimum y value og geographic area. Default 54.43.

ymax

Maximum y value og geographic area. Default 54.49.

col_palette

Colour palette to colour in contours. Default MetBrewer::met.brewer("Hokusai3").

res

Resolution of elevation. Default 50.

line_col

Colour of contours. Default "#0a2e57".

linewidth

Width of contours. 0.5.

Value

A ggplot object.