plot_colorbar: Plot a colorbar legend

View source: R/diagnostics.R

plot_colorbarR Documentation

Plot a colorbar legend

Description

Plot a colorbar given limits and a set of colors.

Usage

plot_colorbar(zlim, col = hcl.colors(12), iasp = 1)

plot_corcolorbar(col = hcl.colors(20, "Blue-Red 3", rev = TRUE))

Arguments

zlim

Limits on the color scale

col

Vector of colors

iasp

Inverse aspect ratio (larger values will result in wider colorbars)

Functions

  • plot_corcolorbar: Plot a colorbar for correlations

Author(s)

John K Best


jkbest2/spatq documentation built on Sept. 22, 2022, 3:22 a.m.