Displaying 20 results from an estimated 7000 matches similar to: "image() and non-well-ordered colours"
2008 Jul 07
2
Drawing a colour wheel - bug in hcl?
Hi All,
I'm trying trying to draw a colour wheel (a slice of hcl space) in R.
Running the code below doesn't give me what I expect - there's some
oddly bright colours of the wrong hue around c(0, 0) and I see three
coloured circles (a small magenta, a medium sized yellow and a large
cyan). Am I doing something wrong or is there a bug in the hcl code?
(Also any suggestions for
2010 Nov 04
3
Plotting a grid of directly specified colours
Dear R-help,
Could any of you direct me to a function for plotting a grid of colours,
directly specified by a matrix of hex colour codes? In other words I'm
looking for a heatmap() or image()-like function to which I can specify the
colour of each grid location directly, rather than providing a numerical
matrix and a 1D-colour scale (heatmap, image, levelplots,NeatMap...). I'm
surprised
2005 Jun 24
1
hcl()
Hello everyone
I am struggling with hcl().
It says on the manpage that "240 yields blue".
With this:
plot(1:50,pch=16,col=hcl(h=240, c=50, l=1:50))
I get mostly blue, but also some red, dots. Note that h=240
throughout. If 240 is blue,
how come there's a red dot there? Or is it just my monitor?
Can some colour expert help me on this?
--
Robin Hankin
Uncertainty Analyst
2012 Oct 26
0
colorspace: interactive HCL palette chooser
Dear useRs,
we have just released a new version (1.2-0) of the "colorspace" package:
http://CRAN.R-project.org/package=colorspace
In addition to the infrastructure for transforming colors between
different color spaces (RGB, HSV, HCL, and various others) and support for
different types of color palettes (qualitative, sequential, diverging),
there is now a new graphical user
2012 Oct 26
0
colorspace: interactive HCL palette chooser
Dear useRs,
we have just released a new version (1.2-0) of the "colorspace" package:
http://CRAN.R-project.org/package=colorspace
In addition to the infrastructure for transforming colors between
different color spaces (RGB, HSV, HCL, and various others) and support for
different types of color palettes (qualitative, sequential, diverging),
there is now a new graphical user
2010 May 12
2
Finding different hues for a mosaic plot compatible with grayscale printing
I'm working with the following code below to generate a
how do I set the h,c, and l values such that the significant, positive
residuals appear different on a grayscale printer from significant
grayscale residuals. The challenge as I see it is that one can only
distinguish the positive and negative residuals with the hue/. Varying
the chroma and the luminance only affect the
2019 Apr 02
2
New grDevices::hcl.colors()
Hi Z
I think supporting HCL color spaces more, is a *very* good idea.
However, I doubt many R users, understand the motivation for HCL color
spaces.
I've reproduced Ross Ihaka's notes on color, on my personal website:
https://sites.google.com/site/spurdlea/exts/ihaka_r_stats_787_10_color.pdf
(This has been reproduced with permission).
Another good article is:
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
2009 Nov 03
1
Stacked barplot: specifying individual bar hue/luminance
Hi all,
I'm trying to generate barplots from simple but long (~100000-row) data
files, in which each bar will comprise two stacked 'sub-bars'. All the
upper sub-bars will have the same hue, and all the lower bars will,
likewise, have another uniform hue. However, I wish to specify the
luminance (aka brightness) of each bar (i.e., each whole bar comprising two
sub-bars) separately,
2010 Jul 07
4
Gray level mosaic plot with shading_Friendly
Suppose we start with
data("Titanic")
mosaic(Titanic, shade = TRUE)
How do I combine the dashed box contours of shading_Friendly to indicate negative residuals, with three levels of gray: dark for abs(Pearson Resid) > 4, lighter for 4 > abs(Pearson Resid) > 2, and lightest for bs(Pearson Resid) < 2 ?
Thanks,
Michael
______________________________________________
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
2004 Jun 04
4
YUV question
On Fri, 4 Jun 2004, Makc wrote:
> Here's what you can find in the net on YUV scheme:
Hmm? What prompted this?
> The statement I care to make here, is simply that there ain't neither
> such thing as "luminance", which details "the eye is more sensitive to",
"ain't neither"? Double negative, so I take your statement to mean
that there *is* such
2007 Dec 06
1
[R] color palette from red to blue passing white (shifted from R-help)
Hi,
The move to sRGB is nice, is there any interest in adding an interface
to lcms, http://www.littlecms.com,
to allow gamut matching? I can think of a lot of instances where I would
like to render a
figure as it would appear on my printer. This is probably best done as a
separate package though,
at least at first.
Nicholas
Martin Maechler wrote:
>>>>>> "Paul" ==
2016 Nov 23
2
[HCL] CyberPower Cyber Power Systems CP685AVR supported by usbhid-ups
It looks like the CyberPower Cyber Power Systems CP685AVR supported by
usbhid-ups has a favorable device dump linked to the Devices Dumps
Library page here:
http://networkupstools.org/ddl/Cyber_Power_Systems/CP685AVR.html
However, it is not listed anywhere on the Hardware Compatibility List
(HCL) page here:
http://networkupstools.org/stable-hcl.html
This appears to be an omission on the HCL
2019 Apr 01
2
New grDevices::hcl.colors()
Hi everyone,
I wanted to draw your attention to a new post on the
developer.R-project.org blog:
https://developer.R-project.org/Blog/public/2019/04/01/hcl-based-color-palettes-in-grdevices/
A new function grDevices::hcl.colors() greatly extends the color palette
functionality available in base R. Also, the defaults in the heatmap
functions image() and filled.contour() have been adapted
2009 Nov 05
1
Set colors in a PCA plot based on a gradient vector
Hi all,
I'm making a PCA plot with eight variables (columns taken from a larger data frame "fieldTrial0809[idx,c(39:46)]"). I then want the symbols in the plot to be colored as a gradient from red to blue, depending on the value of another column in "fieldTrial0809[idx, c(48)]" containg temperatures from -12.1 to -5.4.
I don't want to use the heat.colors(n)
2011 Dec 12
2
Colours for sunflowerplot
Dear fellow R users,
I would like to draw a "sunflowerplot" because I have data (decade by
month) that plots multiple times on the same x-y co-ordinates. Further I
would like to colour each of the points/sunflower leaves on the plot
according to the group they belong to (i.e. which type of event each
represents within that decade and month). I thought that this would be
relatively
2013 Oct 30
2
UPS Product additions to NUT HCL list for compatible Tripp Lite UPS systems
Hello Mr. Leppe,
See the attached excel file that covers the current Tripp Lite HID compatible UPS systems. There is also an attached Word document covering the UPSC / UPSCMD / UPSRW information from the specific UPS systems. Let me know if this is adequate to get our additional HID compatible products added to the NUT HCL listing.
Tripp Lite
Eric K. Cobb
Product Management Specialist
1111
2017 Nov 12
5
Cyberpower model numbers in the HCL
Anyone familiar with Cyberpower's model numbers?
I finally got sick of my Tripplite's USB port going south, all the time, so
I'm looking to replace it.
The HCL has an entry for a Cyberpower model CP1500AVRLCD. Not listed is the
CP1500PFCLCD model, a newer, premium version of the unit; but the HCL does
have an entry for the CP1000PFCLCD model.
Pretty sure that the CP1500PFCLCD
2009 Oct 10
1
auto.key legend color different from actual plot
Dear All,
I have created a barchart, but the legend created by auto.key does not match
the actual graph. Can someone give me some hint here?
For example, my coding are:
Library(lattice)
dataset.table <-
table(data.frame(id=c("a","b","c","a","c","b","a"),colour=c("blue","green","