Add color-bar to plot
Color look-up table
x range
y range
label values
number of digits
label offset
rotation of labels
text size
border of color bar rectangles
Alpha (transparency) level 0-1
Label position left/bottom (1) or top/right (2) or no text (0)
horizontal or vertical color bars
additional low level arguments (i.e. parsed to text
)
if (FALSE) { # \dontrun{
plotNeuro(x,roi=R,mm=-18,range=5)
colorbar(clut=Col(rev(rainbow(11,start=0,end=0.69)),0.5),
x=c(-40,40),y.range=c(84,90),values=c(-5:5))
colorbar(clut=Col(rev(rainbow(11,start=0,end=0.69)),0.5),
x=c(-10,10),y.range=c(-100,50),values=c(-5:5),
direction="vertical",border=1)
} # }