Description Usage Arguments Value
Draw the color bar across the top of the figure underneath the title
1 | draw_topbar(bar, fx = c(0.1, 0.1), dy = 0.5, interpolate = FALSE)
|
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 |
a vector of [left, right, bottom, top, width, height, cx, cy] bar coords
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.