draw_topbar: Draw the color bar across the top of the figure underneath...

Description Usage Arguments Value

View source: R/visualize.R

Description

Draw the color bar across the top of the figure underneath the title

Usage

1
draw_topbar(bar, fx = c(0.1, 0.1), dy = 0.5, interpolate = FALSE)

Arguments

bar

a color matrix

fx

numeric vector of set backs [left, right] for the ends of the color bar

dy

numeric controls the space between the bottom of the bar and the top plot as a fraction of string height

interpolate

logical, if TRUE interpolate the color bar otherwise sample - see rasterImage for details

Value

a vector of [left, right, bottom, top, width, height, cx, cy] bar coords


BigelowLab/stsaav documentation built on May 5, 2019, 2:45 p.m.