jcolors.Rd
Creates different vectors of related colors that may be useful for figures.
jcolors(palette = c("default", "pal2", "pal3", "pal4", "pal5", "pal6", "pal7", "pal8", "pal9", "pal10", "pal11", "pal12", "rainbow"))
palette | Character string indicating a palette of colors. |
---|
Vector of character strings representing the chosen palette of colors.
par(mar=c(0.6,5.1,0.6,0.6)) plot(0, 0, type = "n", xlab = "", ylab = "", xlim = c(0, 6), ylim = c(4, 0), yaxs = "i", xaxt = "n", yaxt = "n", xaxs = "i")def <- jcolors("default") points(seq(along = def), rep(1, length(def)), pch = 22, bg = def, cex = 8)