powered by
plot colors
plot_colors(x, ncol = 10, show_name = TRUE)
ggplot object
color values
color number of each row
use vector names as label, FALSE to show the color value
FALSE
plot_colors(gradient_colors(c("blue", "red"), 10))
Run the code above in your browser using DataLab