Displaying 3 results from an estimated 3 matches for "rgb2col".
2002 May 31
2
Matrix-like plot
Dear List,
I have a 47 species * 83 samples matrix containing percentage abundance
data. I have two cluster analyses one of the samples and one of the
species, and have ordered the rows and columns of the species by samples
matrix according to these two cluster analyses. So far so good!
Now what I want to do is create a plot with the species dendrogram at
the top of the plot, the samples
2007 May 21
3
Selecting complementary colours
Dear r-helpers,
I wonder whether, given the "#rrggbb" representation of a colour, there is a
simple way to select the complementary colour, also expressed as a "#rrggbb"
string.
Any suggestions would be appreciated.
John
--------------------------------
John Fox, Professor
Department of Sociology
McMaster University
Hamilton, Ontario
Canada L8S 4M4
905-525-9140x23604
2000 Mar 29
1
pre summary: mapping of colornames into hsv?
...(ColorCMYs?)
however the R-user probably shouldn't see the internal ColorIntegers of the
C-code, as this might lead to confusion with the colornumbers resulting from
the palette settings.
So the R-user should see functions translating
ColorName2ColorHexcode() ColorHexcode2ColorRGB() and ColorRGB2ColorHSV()
and backwards
ColorHSV2ColorRGB() ColorRGB2ColorHexcode(), rather not
ColorHexcode2Colorname() as not every possible color is granted to have a
name.
Regards
Jens
P.S. the folowing function colorcode() I think is more general than
rainbow() in three aspects:
1) works also with not-equid...