Learn R Programming

fsbrain (version 0.5.5)

plot.fsbrain.colorbar: Draw a simple colorbar from colors.

Description

Draw a simple colorbar from colors.

Usage

# S3 method for fsbrain.colorbar
plot(colors, horizontal = FALSE)

Arguments

colors

vector of colors, no special ordering is assumed

horizontal

logical, whether the colorbar should be plotted horizontally (or vertically).