Displaying 7 results from an estimated 7 matches for "name2col".
2005 Nov 18
1
using a factor as col argument in plot:
Dear R core team
Using the following code produces an empty plot (similar
to col = NA):
> plot(1:9, col = factor(rep(1:3,3), labels = c("red", "blue", "black")))
My question: Shouldn't one get at least a warning (or an error)
if one tries to use a factor as col argument?
Thanks for an answer.
Regards,
Christoph Buser
2000 Mar 29
1
pre summary: mapping of colornames into hsv?
..., ColorIntegers, ColorHexcodes, ColorRGBs, ColorHSVs (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
rain...
2000 Feb 28
1
mapping of colornames into hsv?
I couldn't find this in online help or the archives:
Is there any R function or object giving the mapping of the colornames as
given by colors() into the hsv() model?
Regards
--
Dr. Jens Oehlschl?gel-Akiyoshi
MD FACTORY GmbH
Bayerstrasse 21
80335 M?nchen
Tel.: 089 545 28-27
Fax.: 089 545 28-10
http://www.mdfactory.de
2000 Feb 28
1
mapping of colornames into hsv?
I couldn't find this in online help or the archives:
Is there any R function or object giving the mapping of the colornames as
given by colors() into the hsv() model?
Regards
--
Dr. Jens Oehlschl?gel-Akiyoshi
MD FACTORY GmbH
Bayerstrasse 21
80335 M?nchen
Tel.: 089 545 28-27
Fax.: 089 545 28-10
http://www.mdfactory.de
2000 Feb 29
0
mapping of colornames into hsv: half way done
...names to rgb in S syntax
etc/rgb.txt maps 657 names to rgb in C syntax, but unlike colors() it has
mixed upper and lower case
The C source has the information twice
rgb.c maps 657 names to rgb (mixed upper and lower case)
graphics.c maps 657 names tp colorstrings (lower case only)
internal name2col() and R colors() accesses those in graphics.c
Here is the color representations from graphics.c in R code
.ColorDataBase <- matrix(c(
"white", "#FFFFFF",
"aliceblue", "#F0F8FF",
"antiquewhite", "#FAEBD7",
"anti...
2013 Apr 03
0
R 3.0.0 is released
...N_REVISION in Rversion.h is now an integer (rather than a
string) and hence usable as e.g. #if R_SVN_REVISION < 70000.
o The entry points rgb2hsv and hsv2rgb have been migrated to
package grDevices and so are no longer available.
o R_GE_version has been increased to 10 and name2col removed (use
R_GE_str2col instead). R internal colour codes are now defined
using the typedef rcolor.
o The REPROTECT macro now checks that the protect index is valid.
o Several non-API entry points no longer used by R have been
removed, including the Fortran entry poin...
2013 Apr 03
0
R 3.0.0 is released
...N_REVISION in Rversion.h is now an integer (rather than a
string) and hence usable as e.g. #if R_SVN_REVISION < 70000.
o The entry points rgb2hsv and hsv2rgb have been migrated to
package grDevices and so are no longer available.
o R_GE_version has been increased to 10 and name2col removed (use
R_GE_str2col instead). R internal colour codes are now defined
using the typedef rcolor.
o The REPROTECT macro now checks that the protect index is valid.
o Several non-API entry points no longer used by R have been
removed, including the Fortran entry poin...