color.bar | R Documentation |
Function to plot color bar http://stackoverflow.com/questions/9314658/colorbar-from-custom-colorramppalette
color.bar(
lut,
nticks = 11,
ticks = seq(min, max, len = nticks),
title = "",
xpos,
ypos,
width,
height,
text = c("min", "max"),
cex = 1
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.