colorbar: Add a colorbar to an ortho2 object

Description Usage Arguments Value Note

View source: R/ortho2.R

Description

Adds a series of colors mapped to a value

Usage

1
colorbar(breaks, col, text.col = "white", labels = TRUE, maxleft = 0.95)

Arguments

breaks

a set of finite numeric breakpoints for the colours (see image

col

a list of colors (see image

text.col

axis and text label color

labels

labels for tick marks - see axis

maxleft

Extent the left hand for colorbar

Value

A plot

Note

Much of this was taken from vertical.image.legend from the aqfig package


neuroconductor-releases/neurobase documentation built on Nov. 12, 2020, 7:47 p.m.