Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

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)

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


neurobase

'Neuroconductor' Base Package with Helper Functions for 'nifti' Objects

v1.32.1
GPL-2
Authors
John Muschelli [aut, cre]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.