Displaying 20 results from an estimated 400 matches similar to: "hsv producing a color intensity not in [0,1] (PR#2576)"
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
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
2007 May 18
2
displaying intensity through opacity on an image
Dear colleagues,
I have an image which I can display in the greyscale using image. On this image, for some pixels, which I know, I want to display their activity based on a third measure. One way to do that would be to color these differently, and use an opacity measure to display the third measure. An example of what I am trying to do is at:
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
2000 Mar 29
1
pre summary: mapping of colornames into hsv?
Hi Martin,
Great that you follow this. My original intention was to be able to
translate colornames to hsv because this would allow using colornames to cut
out a certain part of the colorwheel for colorcoding (HSV component H, see
my code below)
I think internally we might have colors represented as
Colornames, ColorIntegers, ColorHexcodes, ColorRGBs, ColorHSVs (ColorCMYs?)
however the R-user
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"
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.
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
2023 Feb 23
2
Palettes {grDevices} - wrong number of colors returned?
Hi,
I would have expected that I get always 3 colors as result which is not
true:
hcl.colors(3, alpha=c(0, 0.5, 1)) # 3 colors
rainbow(3, alpha=c(0, 0.5, 1)) # 3 colors
heat.colors(3, alpha=c(0, 0.5, 1)) # 3 colors
terrain.colors(3, alpha=c(0, 0.5, 1)) # 6 colors
cm.colors(3, alpha=c(0, 0.5, 1)) # 6 colors
topo.colors(3, alpha=c(0, 0.5, 1)) # 9 colors
R-Version and
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
2006 Aug 01
2
rgb and col2rgb color conversion/modification/shading
I want to get a lighter shade of a color...I have a lot of colored objects and
want each one printed as a foreground against a slightly lighter background.
I thought I could try something like changing the alpha channel by first
converting it to rgb.
But prior to trying that, I'm stuck with how to get the color after converting
using col2rgb() to be interpreted again as a color, rather than
2004 Oct 17
1
FW: Plotcorr: colour the ellipses to emphasize the differences
-----Original Message-----
From: Duncan Murdoch [mailto:murdoch at stats.uwo.ca]
Sent: ned 2004-10-17 15:34
To: Gorjanc Gregor
Cc: r-help at stat.math.ethz.ch
Subject: Re: [R] Plotcorr: colour the ellipses to emphasize the differences
On Sun, 17 Oct 2004 02:51:58 +0200, "Gorjanc Gregor"
<Gregor.Gorjanc at bfro.uni-lj.si> wrote:
[removed old stuff]
>>I would also like to
2018 Dec 14
4
LLVM Backend for a platform with no (normal) stack
Thanks, no malloc or free equivalents either (no heap).
So, there are no others (to your knowledge) who have built an LLVM backend for a platform with no “normal” stack? I found a presentation about some FPGA work (using LLVM) but it doesn’t seem to apply to my platform. Perhaps someone else on the mailing list will have come across this rarity?
Thank you again for your time and
2004 Apr 10
4
(offtopic) I need two sets of 5 different color scales
Hi,
I am plotting a policy function (result from a dynamic stochastic
optimization problem, discretized approximation). The policy function
maps from an 2 x 2 x 2 x 3 x B x F state space to a B x F state space
(B and F are usually between 4-6, and represent domestic and foreign
savings. The other variables are income (Y), inflation (Pi), domestic
and foreign interest rates (R and Z)). I
2012 Apr 13
3
Kaplan Meier analysis: 95% CI wider in R than in SAS
Hello All,
?
Am replicating in R an analysis I did earlier using SAS. See this as a test of whether I'm ready to start using R in my day-to-day work.
?
Just finished replicating a Kaplan Meier analysis. Everything seems to work out fine except for one thing. The 95% CI around my estimate for the median is substantially larger in R than in SAS. For example, in SAS I have a median of 3.29 with a
2023 Feb 23
1
Palettes {grDevices} - wrong number of colors returned?
On 23/02/2023 4:36 a.m., Sigbert Klinke wrote:
> Hi,
>
> I would have expected that I get always 3 colors as result which is not
> true:
>
> hcl.colors(3, alpha=c(0, 0.5, 1)) # 3 colors
>
> rainbow(3, alpha=c(0, 0.5, 1)) # 3 colors
>
> heat.colors(3, alpha=c(0, 0.5, 1)) # 3 colors
>
> terrain.colors(3, alpha=c(0, 0.5, 1)) # 6 colors
>
>
2018 Dec 14
2
LLVM Backend for a platform with no (normal) stack
Thanks for your response. Please see below.
From: Bruce Hoult [mailto:brucehoult at sifive.com]
Sent: Thursday, December 13, 2018 5:58 PM
To: jjones at prc-hsv.com
Cc: LLVM Developers Mailing List <llvm-dev at lists.llvm.org>
Subject: Re: [llvm-dev] LLVM Backend for a platform with no (normal) stack
Do you have a register that you can store a memory address
>> yes
in and
2019 Feb 04
2
Variable names rule
Hi Tim,
Sorry, I'm not sure I follow. Are you maybe thinking that if the identifiers were tagged to specify scope, people would still be trying to use acronyms or single letters? So that, what in future code might be F, would instead be _f and that would be worse than f_ or s_f? I was thinking instead F would be (for new or modified code) _function or _fnctn or _func (as an object of type
2004 Jul 21
2
Cutting heatmap dendrogram
Hello,
I've been clustering my data using hclust and cutting the resulting tree
with cutree. Separately, I visualize the clusterings with heatmap. Is it
possible to have the dendrogram on the heatmap reflect the cutree results?
That is, instead of having one large dendrogram, it would have 4 or 25 in
the example below. Any guidance on if that's possible or not, and what
kinds of