colorbar: Add a colorbar to an ortho2 object

View source: R/ortho2.R

colorbarR Documentation

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)

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


muschellij2/neurobase documentation built on Nov. 28, 2023, 5:33 a.m.