Displaying 1 result from an estimated 1 matches for "eaa200".
2003 Oct 29
1
Wishlist: user-specified color names for palette() (PR#4836)
...use palette(rgb(red=..., green=..., blue=..., names=mycolors)) to define my
own color palette. After doing this, the names `mycolors' are not stored in
palette() anymore, so that palette() returns a mix of built-in color names and
RGB values.
Eg:
> palette()
[1] "black" "#EAA200" "#FF6633" "gray60"
I wish that palette() would return a _named vector_ like this:
> palette()
black orange tomato gray
"#000000" "#EAA200" "#FF6633" "#999999"
One application:
I want to specify colors by na...