Learn R Programming

plotKML (version 0.8-3)

SAGA_pal: Colour palettes for numeric variables

Description

SAGA_pal contains 22 colour palettes imported from SAGA GIS (Conrad, 2007). R_pal 12 standard colour palettes used in R to visualize continuous and binary variables. Each colour palette consists of 20 colours in the hexadecimal system. Use display.pal function to plot different sets of palettes.

Usage

data(SAGA_pal)
data(R_pal)

Arguments

References

  • Conrad, O., (2007). SAGA --- Entwurf, Funktionsumfang und Anwendung eines Systems f<U+00FC>r Automatisierte Geowissenschaftliche Analysen. Electronic doctoral dissertation, University of G<U+00F6>ttingen.

  • Rogowitz, B.E., Treinish, L.A., (1998, December). Data visualization: the end of the rainbow. Spectrum, IEEE, 35(12):52-59. 10.1109/6.736450

  • Borland, D. and Russell, M. T. II, (2007). Rainbow Color Map (Still) Considered Harmful. Computer Graphics and Applications, IEEE, 27(2):14-17. 10.1109/MCG.2007.323435

  • https://cran.r-project.org/package=RColorBrewer

  • https://cran.r-project.org/package=colorspace

See Also

worldgrids_pal, RColorBrewer::display.brewer.all

Examples

Run this code
# NOT RUN {
data(SAGA_pal)
data(R_pal)
# }
# NOT RUN {
# visualize SAGA GIS palettes:
display.pal(pal=SAGA_pal, sel=c(1,2,7,8,10,11,17,18,19,21,22))
dev.off()
display.pal(R_pal)
names(R_pal)
dev.off()
# }

Run the code above in your browser using DataLab