If you use tcltk package package, you can do:
as.character(.Tcl(tk_chooseColor))
Best,
Philippe
Greg Snow wrote:
I don't know of any existing palettes that meet your conditions, but here are a
couple of options for interactive exploration of colorsets (this is quick and
dirty, there are
Below is a 'pretty-poor' version of a color picker I wrote using the
code on the color chart page I cited. It's slightly 'pretty' in terms
of layout, but 'poor' in terms of usability and flexibility. Still,
it is more useful to me than the nearly-null set of alternatives
I have found in R.
Hi Michael,
have a look at colors.plot(T) from the epitools-package (and perhaps at
colorbrewer.display() as well). Maybe this suits you?
hth
Michael Friendly schrieb:
I'm looking for a scheme to generate a default color palette for
plotting points, lines and text (on a white or transparent
I'm looking for a scheme to generate a default color palette for
plotting points, lines and text (on a white or transparent background)
with from 2 to say 9 colors with the following constraints:
- red is reserved for another purpose
- colors should be highly distinct
- avoid light colors (like
Healthcare
greg.s...@imail.org
801.408.8111
-Original Message-
From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-
project.org] On Behalf Of Michael Friendly
Sent: Thursday, January 28, 2010 8:38 AM
To: R-Help
Subject: [R] color palette for points, lines, text / interactive
5 matches
Mail list logo