search for: greenrang

Displaying 7 results from an estimated 7 matches for "greenrang".

Did you mean: greenrange
2008 Sep 17
6
creating rainbow gradients
...r example, let's say I have a plot of y = x...and I want the plot to go from red -> orange -> yellow -> green -> blue -> etc. Right now, I know how to do something like go from red to blue, using the plotrix library: library(plotrix) redToBlue <- color.scale(x,redrange=c(0,1),greenrange=c(0,1),bluerange=c(0,1),extremes=c("red","blue")) plot(x, y, col=redToBlue) But I can't figure out how to make the colors a rainbow. (I don't understand how the redrange, greenrange, and bluerange parameters in color.scale work.) Could someone please help? Thanks!...
2011 Feb 07
1
color2d.maplot error
Dear all I am using color2D.maplot to map some matrixes to plot. everything works fine. It seems that when my matrix contains only the same value color2D.maplot returns the following error: color2D.matplot(estimatedsr,redrange=c(0,1),greenrange=c(0,.5),bluerange=c(0,.5),xlab="x",ylab="y",main=sprintf('Estimated'),show.legend=TRUE,show.values=TRUE) Error in rgb(reds, greens, blues) : color intensity 18.5, not in [0,1] Calls: color2D.matplot -> color.scale -> rgb if you want to generate the error above t...
2004 Dec 23
3
combination of scatterplot and image graph
Dear R users, I'm interested in a combination of a scatterplot and an image graph. I have two large vectors. Because in the scatterplot some areas are sparsely and others densely populated, I want to see the points, and I also want their color to be changed based on their density (similar to a heat map). Is there a function that can do that? Thank you, b.
2006 Aug 11
2
Colour-coding intervals on a line
Hi, This is a simple version of something that I am trying to do. If I can sort the problem basically, I figure I should be able to sort it for the program I'm writing (which would take longer to explain). I need to know if there is any way of using different colours for different intervals of a line on a graph. Eg. If I plot the line y=x for x=1:10, and split this line into 106 intervals
2011 Apr 14
4
Categorical bubble plot
Hi, I do not have much R experience just the basics, so please excuse any obvious questions. I would like to create bubble plot that have Categorical data on the x and y axis and then the diameter if the bubble the value related to x and y. Attached to the email is a pic of what I would like to do. I do hope someone can help me. -- Regards/Groete/Mit freundlichen Gr??en/recuerdos/meilleures
2011 May 01
0
plotrix_3.2
...former version. color.scale will now convert numeric values into colors in all three color specifications, RGB, HSV and HCL. Again, I think that previous code will run with the new version. The change that will probably cause trouble is the renaming of the color range arguments from redrange, greenrange and bluerange to cs1, cs2 and cs3. The user can trip up the function more easily, as the three specs have different color parameter ranges. If the new version does break anyone's code, especially for packages that depend upon plotrix, please let me know and I'll do my best to resolve...
2006 Jan 07
2
Question about graphics in R
Considering the R function/plot shown below, I wonder whether it is possible to do the following changes: (1) Change the color of each point to be picked from list of colors according to its z-value. (The range should be from blue (z=0) to red (z=1).) The grid should then be omitted. [I have seen "terrain.colors", but don't know how to use it for this purpose.] (2) Add two lines to