similar to: rainbow function

Displaying 20 results from an estimated 3000 matches similar to: "rainbow function"

2017 Dec 20
2
outlining (highlighting) pixels in ggplot2
Using the small reproducible example below, I'd like to know if one can somehow use the matrix "sig" (defined below) to add a black outline (with lwd=2) to all pixels with a corresponding value of 1 in the matrix 'sig'? So for example, in the ggplot2 plot below, the pixel located at [1,3] would be outlined by a black square since the value at sig[1,3] == 1. This is my first
2012 May 03
2
Help with readBin
I'm trying to read a binary file created by a fortran code using readBin and readChar. Everything reads fine (integers and strings) except for double precision numbers, they are read as huge or very small number (1E-250,...). I tried various endianness, swap, But nothing has worked so far. I also tried on R 64 bit for linux and windows (R 2.14) and R 2.11 on windows XP 32 bit. Any help would
2008 Apr 24
2
alternatives to RColorBrewer?
I've found RColorBrewer useful for its qualitative palettes, but wished that it could generate more than 12 qualitative palettes (e.g. with Set3). Any suggestions for alternative color palette generators that can handle e.g. 18 distinctive colors? (I'm aware of using rainbow(), but this doesn't generate enough distinct colors when the number of palettes is large). Thanks, Andrew
2014 Jun 15
4
[PATCH v2 0/3] ARB_viewport_array for nvc0
This patch-series implements the ARB_viewport_array for nvc0 and does a little house-cleanig afterwords. V2: Add Release-Notes, mark this in GL3 as done for nvc0 Don't mark the scissors dirty when we don't need to do that Tobias Klausmann (3): nvc0: implement multiple viewports/scissors, enable ARB_viewport_array docs: update GL3.txt, relnotes: mark GL_ARB_viewport_array as done
2014 Jun 14
7
[PATCH 0/3] ARB_viewport_array for nvc0
This patch-series implements the ARB_viewport_array for nvc0 and does a little house-cleanig afterwords. Tobias Klausmann (3): nvc0: implement multiple viewports/scissors, enable ARB_viewport_array nvc0: mark scissor in nvc0_clear_{} nv50/ir: Remove NV50_SEMANTIC_VIEWPORTINDEX and its last consumer .../drivers/nouveau/codegen/nv50_ir_driver.h | 1 -
2009 Mar 27
1
interactive image graphic
Dear All I want to plot a kind of figures, which can interactive with user. For example, i have a matirx which can be showed by image function. i.e. we can compare the value depend on different colors. However, the change of colors depend on the range of value. Nowaday, i want to set a bar, which can be moved by user such that the user can obtain the appropriate range. Does anyone suggest me which
2004 Nov 02
2
Color schemes that work for people with color-deficient vision
A recent article in the earth science literature cited below and available at http://geography.uoregon.edu/datagraphics/EOS/ points out that rainbow color schemes and mixtures of green and yellow can be troublesome for people with color-deficient vision. The authors propose alternative schemes that can be viewed and downloaded in RGB, HSV, CMYK, and RGB256 formats from
2017 Dec 20
0
outlining (highlighting) pixels in ggplot2
Hi Eric, you can use an annotate-layer, eg ind<-which(sig>0,arr.ind = T) ggplot(m1.melted, aes(x = Month, y = Site, fill = Concentration), autoscale = FALSE, zmin = -1 * zmax1, zmax = zmax1) + geom_tile() + coord_equal() + scale_fill_gradient2(low = "darkred", mid = "white", high = "darkblue",
2014 Feb 04
2
[PATCH 1/3] nv50: rework primid logic
Functionally identical but much simpler. Should also better integrate with future layer/viewport changes/fixes. Cc: 10.1 <mesa-stable at lists.freedesktop.org> Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu> --- Not *strictly* necessary in stable, but it will make backporting later fixes easier. No regressions in piglit. src/gallium/drivers/nouveau/nv50/nv50_program.c | 5
2004 Nov 03
2
Suggested color schemes for points, not regions?
I have seen a couple of posts about color schemes like those at the ColorBrewer site. Most recently: http://geography.uoregon.edu/datagraphics/color_scales.htm These color schemes can work very well for regions (bars, polygons, images, etc.) but are not very suitable for points and/or lines. Is anyone aware of research/suggestions for a color scheme to use for scatter plots? I've looked at
2002 Oct 31
1
new package RColorBrewer available
RColorBrewer 0.1-1 is available on CRAN. The packages provides palettes for drawing nice maps shaded according to a variable as an R function. The palettes have been designed by and are copyrighted by the ColorBrewer project. An interactive palette selection tool byt the original designers is available at http://colorbrewer.org -- -- Erich Neuwirth, Computer Supported Didactics Working Group
2002 Oct 31
1
new package RColorBrewer available
RColorBrewer 0.1-1 is available on CRAN. The packages provides palettes for drawing nice maps shaded according to a variable as an R function. The palettes have been designed by and are copyrighted by the ColorBrewer project. An interactive palette selection tool byt the original designers is available at http://colorbrewer.org -- -- Erich Neuwirth, Computer Supported Didactics Working Group
2005 Jul 21
3
heatmap color distribution
Hi all, I've got a set of gene expression data, and I'm plotting several heatmaps for subsets of the whole set. I'd like the heatmaps to have the same color distribution, so that comparisons may be made (roughly) across heatmaps; this would require that the color distribution and distance functions be based on the entire dataset, rather than on individual subsets. Does
2017 Dec 20
1
outlining (highlighting) pixels in ggplot2
I apprecaite the guidance Eik, that works great! I'm also wondering if you have any pointers for how I might stretch the color scale so that the max and min values are the same? Right now, the min is -0.064 and the max is something closer to 0.04. As you can see in what I sent, I tried adding: zmax1 = max(abs(m1)) ggplot(..., autoscale = FALSE, zmin = -1 * zmax1, zmax = zmax1) + ... to
2012 Feb 18
1
Plot OctTree
Hi Everyone, I have csv file which is in following format xmin,xmax,ymin,ymax,zmin,zmax I want to plot 3d graph with all the all octants being displayed as well. Any idea? I have used scatterplot3d package but it does not seem to have anything by which i can draw "octants" inside cube as well. Thanks [[alternative HTML version deleted]]
2005 Mar 30
5
2d plotting and colours
Hi! I am new to R just 3 days in it and i apologize if my questions seem very trivial and consumed your valuable time. I am coding in perl and i stumbled upon R regarding plotting good statistical graphs. I tried the kmean clustering for a large matrix ,say > 150 * 150 . I tried the example code given in the tutorial to perform 2d plot # i ranges from 2 to 10 cl <- kmeans(x, i, 20)
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
2005 Jul 07
2
Brewer colours
Anyone who is interested in using optimal colour palettes should look at the work of Cindy Brewer: www.colorbrewer.org I have written code to use her colour schemes in R. It is included below. Perhaps someone may find this interesting enough to work into a package. Included also is a function showpalette, which was posted here a while back. I don't remember who wrote it. I have copied all
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
2009 Mar 13
5
Selecting / creating unique colours for behavioural / transitional data
Dear all, This seems like a simple problem but i've searched the help files and tried various options but failed, so apologies in advance for asking what i'm sure is an easy thing to do! In short, I have displayed behavioural data using the TraMineR package such that there is a colour change between the transition of behaviours, however, all the methods that i have used thus far have