Learn R Programming

neurobase (version 1.32.4)

colorbar: Add a colorbar to an ortho2 object

Description

Adds a series of colors mapped to a value

Usage

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

Value

A plot

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