Displays R's 657 named colors for selection and returns optionally R's color names.
logical, if true,
size of axis labels.
colorLocator function plots R's 657 named colors. If
locator=TRUE then you can interactively point and click to
select the colors for which you want names. To end selection, right
click on the mouse and select 'Stop', then R returns the selected
The functions used here are wrappers to the functions provided by
Tomas Aragon in the contributed R package.
colorsLocator() generates a plot with R colors and, when
locator is true, returns matrix with graph coordinates and
names of colors selected.
colorsMatrix() quietly returns the matrix of names.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.