Displaying 20 results from an estimated 300 matches similar to: "pre summary: mapping of colornames into hsv?"
2000 Feb 29
0
mapping of colornames into hsv: half way done
Ok,
now we have the mapping of color names to color codes (see below) and
conversion to rgb (something like Ben Bolker's function), but how to convert
rgb to hsv?
Thanks to Brian Ripley, Peter Dalgaard and Ben Bolker
Details below
Regards
Jens
etc/colors.big maps 455 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
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
2003 Feb 24
1
hsv producing a color intensity not in [0,1] (PR#2576)
Full_Name: Jae Choi
Version: 1.6.1
OS: linux (x86)
Submission from: (NULL) (142.176.61.245)
Hello,
Any attempts to access the "hsv" function returns the following type of error:
Error in hsv(h = seq(start, ifelse(start > end, 1, 0) + end, length = n)%%1, :
color intensity 1.25, not in [0,1]
(the above was generated from the demo command:
> pie(rep(1, 24), col =
1997 Nov 06
0
R-beta: graphics: ``gamma correction'' -- state / feedback ?
In 'CHANGES' of 0.49, you find among "NEW FEATURES"
o There is a new graphical parameter "gamma" which is designed to
let users apply a ``gamma'' correction for their graphics
displays. Most monitors produce a color intensity which is
related to voltage by the equation
intensity = voltage ^ gamma
with gamma about 2.5 for most PC monitors.
2000 Oct 27
1
Bug in hsv() (PR#712)
Ross posted this code:
persp(x, y, z, col = cm.colors(10)[floor(9 * hgt + 1)], theta = 35)
I hadn't seen the cm.colors function before; it's very nice! I wanted
to modify it a bit to allow the start and end colors as well as the
max saturation to be specified, and I think I may have turned up a bug
in the hsv() function. Here's the evidence of the bug:
Look at the results of
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
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
2009 Aug 06
2
making scatter plot points fill semi-transparent
hi all,
i have a simple scatter plot, and i'd like to make it so the scatter
plot colors are slightly transparent. i see in a previous post that
someone mentioned the "alpha" parameter, but i am not sure how it can
be used with the 'plot' function [*].
for example, suppose i have:
plot(mydata$column1, mydata$column2, col="red", cex=1)
i now want to make it so
1998 Sep 22
1
"Segmentation Fault - core dumped" in R 0.62.3
I am occasional getting "Segmentation Fault - core dumped" in R 0.62.3 (I think
more often then I did in 0.62.2). I have not been able to do this in any
reliably reproducible way yet, but thought I would mention the problem in case
some else can isolate it.
Paul Gilbert
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel mailing list -- Read
2008 Nov 22
0
[PATCH] ppmtolss color need to be quoted
Fix internal ppmtolss comment and man page describing ppmtolss syntax with
color index
Fix typo s/freqency/frequency/ in comment
Not so sure it will not be mangled, so it's also as attachment.
Signed-off-by: Gilles Espinasse <g.esp at free.fr>
diff --git a/man/ppmtolss16.1 b/man/ppmtolss16.1
index 954e94b..5be3263 100644
--- a/man/ppmtolss16.1
+++ b/man/ppmtolss16.1
@@ -3,7 +3,7 @@
2007 Jan 08
3
Relating Tables
I have 2 mysql tables, Product and Color:
Color
ID ColorName
1 Red
2 Green
3 Yellow
4 Blue
Products
ID Color1 Color2 Color3 ProductName
1 ? ? ? Orco
2 ? ? ? Skeletor
3 ? ? ? He-Man
I need to display the ColorName to
1997 Apr 23
1
R-beta: Version 0.49 Released
The newest version of R for Unix (version 0.49) is now available
(or soon will be) from the following sites.
NORTH AMERICA:
http://lib.stat.cmu.edu/R/Alpha
EUROPE:
ftp://ftp.stat.math.ethz.ch/R/
ftp://statlab.uni-heidelberg.de/pub/mirrors/auckland/R/
JAPAN:
ftp://ftp.u-aizu.ac.jp/pub/lang/R/
NEW ZEALAND:
ftp://stat.auckland.ac.nz/pub/R/
Please
1997 Apr 23
1
R-beta: Version 0.49 Released
The newest version of R for Unix (version 0.49) is now available
(or soon will be) from the following sites.
NORTH AMERICA:
http://lib.stat.cmu.edu/R/Alpha
EUROPE:
ftp://ftp.stat.math.ethz.ch/R/
ftp://statlab.uni-heidelberg.de/pub/mirrors/auckland/R/
JAPAN:
ftp://ftp.u-aizu.ac.jp/pub/lang/R/
NEW ZEALAND:
ftp://stat.auckland.ac.nz/pub/R/
Please
1997 Apr 23
1
R-beta: Version 0.49 Released
The newest version of R for Unix (version 0.49) is now available
(or soon will be) from the following sites.
NORTH AMERICA:
http://lib.stat.cmu.edu/R/Alpha
EUROPE:
ftp://ftp.stat.math.ethz.ch/R/
ftp://statlab.uni-heidelberg.de/pub/mirrors/auckland/R/
JAPAN:
ftp://ftp.u-aizu.ac.jp/pub/lang/R/
NEW ZEALAND:
ftp://stat.auckland.ac.nz/pub/R/
Please
2009 Mar 23
3
Replacing a few variable values within a DataFrame...
I would like to replace a few varaibles within a data frame.
For example, in the dataframe below (contrived) I would like to replace the current housesize value only if the Location is HSV. However, I would like to leave the other values intact.
I tried "ifelse", but I don't really need the else condition.
test_data2_df<-data.frame(Variables=c("SQR
1999 Aug 09
1
cm.colors bug (PR#244)
Full_Name: David M. Potter
Version: 0.64.1
OS: solaris 2.6
Submission from: (NULL) (12.18.36.220)
cm.colors() returns an extra element "1":
> cm.colors(10)
"#7FFFFF" "#99FFFF" "#B2FFFF" "#CCFFFF" "#E5FFFF" "#FFE5FF" "#FFCCFF"
2000 Jul 20
1
Installing R-1.1.0 (PR#612)
Dear R-developers,
I finally got around to install R 1.1.0 but had problems at the `make
check' stage.
After compiling the released R 1.1.0 version the `make check' stage
stopped while checking the examples in base. There was some problem
with the quantile function and the check stopped complaining that NA's
are not allowed.
But I assume that this problem is already known because
2013 Jun 07
1
col2rgb, factors & documentation
Hello Core Folk.
Quite by accident I discovered today that col2rgb, when fed factors, acts on the integer representation of those factors:
td <- as.factor(rainbow(5)) # not how I discovered the issue!
td
res <- col2rgb(td)
res
# but
col2rgb("#FF0000FF") # this is td[1] but does not produce the same answer
res[,1]
# moreover
as.integer(td)
col2rgb(5) # the integer value of the
2004 Jul 21
2
add more data to a data file, problem with .Rprofile
Hi,
Is there a way to incorporate an R object x to a file already containing R objects?
It seems that 'save' is not capable to do this. If I save x to a file containing
previously saved data, then I will lose this data.
I use the funcion hsv in .Rprofile but it is recognized. Couriously, if I source .Rprofile
when R is already running I do not get any error message.
Thank you.