R/rainbowBar.R

Defines functions rainbowBar

Documented in rainbowBar

rainbowBar <- function(w=256, h=50){
  a <- c(0:255)
  b <- matrix(a, 256, 50)
  bn <- normalize(b)
  bnp <- pseudoColor(bn)
  bnp <-resize(bnp, w, h)
  return(bnp)
}
tkatsuki/dipr documentation built on April 19, 2021, 7:18 p.m.