ColPicker | R Documentation |
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(locator = TRUE, ord = c("hsv", "default"), label = c("text", "hex", "dec"), mdim = c(38, 12), newwin = FALSE)
locator |
logical, defines if the colors can be selected by mouseclick. Default is TRUE. |
ord |
the order of the colors, can be either defined by hsv-value or by the R internal color-number. Default is the latter. |
label |
label for the colors, can be the colorname (text), the hex-code (#RRGGBB) or the decimal RGB-number |
mdim |
the dimension of the color matrix. Default is 38 rows and 12 columns. |
newwin |
logical, defining if a new graphic device should be used. Default is |
The function plots all the colors but leaves out the grey scales grey()
and gray()
.
Andri Signorell <andri@signorell.net>
par
, colors
, PlotPch
ColPicker(locator=FALSE, ord="hsv") ColPicker(locator=FALSE, label="hex")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.