powered by
ColPicker() plots the R-colors in a dense manner and allows to collect colors by using a locator. This can be helpful when some colors should be put together to a palette.
ColPicker()
ColPicker(locator = TRUE, ord = c("hsv", "default"), label = c("text", "hex", "dec"), mdim = c(38, 12), newwin = FALSE)
logical, defines if the colors can be selected by mouseclick. Default is TRUE.
the order of the colors, can be either defined by hsv-value or by the R internal color-number. Default is the latter.
label for the colors, can be the colorname (text), the hex-code (#RRGGBB) or the decimal RGB-number
the dimension of the color matrix. Default is 38 rows and 12 columns.
logical, defining if a new graphic device should be used. Default is FALSE.
FALSE
The function plots all the colors but leaves out the grey scales grey() and gray().
grey()
gray()
par, colors, PlotPch
par
colors
PlotPch
# NOT RUN { ColPicker(locator=FALSE, ord="hsv") ColPicker(locator=FALSE, label="hex") # }
Run the code above in your browser using DataLab