powered by
Returns a color palette for plotting
Implements support RColorBrewer and named sits palettes. Valid names are: "veg_index", "probs", "uncert", "soil", "forest", "water", "green", "BuGn", "BuPu", "GnBu", "PuBu", "PuBuGn", "PuRd", "YlGn", "YlGnBu", "YlOrRd", "YlOrBr", "OrRd", "Blues", "Greens", "Oranges", "Reds", "Greys", "Purples".
sits_colors(name, n_colors = 32)
A vector with valid R colors
Name of sits color palette
Number of colors to be displayed
Gilberto Camara, gilberto.camara@inpe.br
if (sits_run_examples()) { # show the names of the colors supported by SITS sits_color_names() # show a color palette sits_colors_show("Blues", n_colors = 16) }
Run the code above in your browser using DataLab