Displaying 20 results from an estimated 4000 matches similar to: "Plotting a grid of directly specified 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 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
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
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
______________________________________________
2009 May 22
22
[Bug 21869] New: Chroma mismatch using XV
http://bugs.freedesktop.org/show_bug.cgi?id=21869
Summary: Chroma mismatch using XV
Product: xorg
Version: 7.4
Platform: x86 (IA32)
OS/Version: Linux (All)
Status: NEW
Severity: normal
Priority: medium
Component: Driver/nouveau
AssignedTo: nouveau at lists.freedesktop.org
ReportedBy:
2006 Aug 20
1
Simple RGB->YUV Stuff...
I've spent the weekend or so trying to get my head around Theora and I'm
just not having any luck. First of all, I really don't have any interest
in immersing myself in video encoding--I just have one simple thing I'd
like to do--so I haven't spent any time reading about the theory or
specs or anything like that.
I'm attempting to write a "render-to-theora"
2010 Oct 27
1
Control of axis limits in multiple panel lattice plots
Unwanted space (padding?) is introduced at the extremes of the x and y
axes of my lattice plots.
I've tried defining the scales using xlim, scale and num.limits in
x.scale.components, but haven't succeded in getting overriding the
introduction of extra space.
Here's the problem:
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
2009 Jan 07
1
heatmap.2 and three colours for specific ranges
Hi,
I hope to show a heatmap with thre colours, no gradation. How to specify
heatmap.2 to map "green" for values less than -1, "gray" for values between
-1 and 1, and "red" for values greater than 1 ?
Thanks
[[alternative HTML version deleted]]
2011 Nov 02
3
palettes for the color-blind
Everyone,
I'm working with scatter plots with different colored symbols (via
lattice). I'm currently using these colors for points and lines:
col1 <- c(rgb(1, 0, 0), rgb(0, 0, 1),
rgb(0, 1, 0),
rgb(0.55482458, 0.40350876, 0.04166666),
rgb(0, 0, 0))
plot(seq(along = col1), pch = 16, col = col1, cex = 1.5)
I'm also using these with transparency (alpha
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 May 24
1
image() and non-well-ordered colours
Hi.
I want to use image() with colours that are indexed by two variables.
Indexing by one variable is easy:
library(colorspace)
x <- seq(from=0, to=1,len=30)
z <- outer(x,1i*x,"+")
image(Re(z),col=hcl(seq(from=0,to=100,len=15),c=100))
OK, so far so good. Now, I want the colour to be a more complicated
function
of z, in which both the hue and luminance change (thus the colours
2013 Feb 20
1
Problem with levelplot() in a loop
Dear R users,
I am trying to print heatmaps in a loop (with a pause). Idea is to
visualize changing correlations over time and for testing I wrote this
simple (reproducible) code below.
My problem is that levelplot() does not produce any output when I run the
code (though heatmap does). Ideally I would like to use levelplot() as it
produces a neat index on the side indicating the color and the
2002 Aug 28
5
Analogue artifact estimation
Hi List,
Just batting a few ideas around here, but would it be possible to include in to the codec, estimation for common video artifacts that occur in the analogue world?
For example, anything that's gone through a composite stage will likely have dot-crawl and false colour - if we can recognise this effect in the encoder, we can treat it as a special case.
Other artifacts that come to
2017 May 04
3
NV130 - gtx 1050 ti
On 05/04/2017 04:00 AM, Pierre Moreau wrote:
> Hello,
>
> Acceleration for Pascal cards is coming in Linux 4.12, support for Pascal cards
> in xorg-video-nouveau is in 1.0.15, and if I remember correctly, on the
> Mesa-side, you will need >=17.0.
Thanks - I suspected it was too new.
I'm finding the monitor capabilities miss identified even if I use an older card - I'm
2009 May 05
3
Heatmap without levelplot
Hi there,
as I'm not sure to understand the coloring levelplot uses, I'm looking for
another easy way to create a heatmap like this:
library(lattice)
mat <- matrix(seq(1,5, length.out = 12), nrow = 3)
mat[1,2] <- 3.5
my.at <- seq(0.5,5.5, length.out = 6)
my.col.regions <- rainbow(5)
graph <- levelplot(t(mat[nrow(mat):1, ] ), at = my.at, col.regions =
my.col.regions)
2008 Sep 25
2
levelplot/heatmap question
Hello!
I have data containing a large number of probabilities (about 60) of nonzero
coefficients to predict 10 different independent variables (in 10 different
BMA models). i've arranged these probabilities in a matrix like so:
(IV1) (IV2) (IV3) ...
p(b0) p(b0) p(b0)
p(b1) p(b1) p(b1)
p(b2) p(b2) p(b2)
...
where p(b1) for independent variable 1 is p(b1 !=
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,
2016 Apr 05
1
Heatmap Colnames
Hello,
please see below my code for a heatmap. Unfortunately my column names do not completely appear. Can you please send me the appropriate code to visualise them?
Many Thanks!
Nils
library(GMD)
dat<-data.frame(EntryA=as.numeric(c(4.24,3,1.66,1.28,1.2,-1.32,-1.88)), EntryB=as.numeric(c(4.16,4.82,-1.82,-3.02,0.99,1.1,-3.31)))
2008 Jun 06
4
color scale mapped to B/W
In an R graphic, I'm using
cond.col <- c("green", "yellow", "red")
to represent a quantitative variable, where green means 'OK', yellow
represents 'warning'
and red represents 'danger'. Using these particular color names, in B/W,
red is darkest
and yellow is lightest. I'd like to find color designations to replace
yellow and