powered by
ColorBar(brks, cols = NULL, vert = TRUE, subsampleg = 1, cex = 1)
cols <- c("dodgerblue4", "dodgerblue1", "forestgreen", "yellowgreen", "white", "white", "yellow", "orange", "red", "saddlebrown") lims <- seq(-1, 1, 0.2) ColorBar(lims, cols)
Run the code above in your browser using DataLab