Displaying 9 results from an estimated 9 matches for "redrange".
2008 Sep 17
6
creating rainbow gradients
...radient in R? For 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...
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...
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
2007 Nov 06
1
color2D.matplot
...(1,0,0,1,0)
> db = c(1,0,0,0,1)
I can get some color to work but I cannot get them all as if I but in a c()
range equalling 0-7 (i.e. one color for each number I get the following. I
cannot figure out from the documentation why it will not let me do what I
want :(
Error in rescale(x[segindex], redrange[c(seg, seg + 1)]) :
rescale: can't rescale a constant vector!
help please someone...
--
View this message in context: http://www.nabble.com/color2D.matplot-tf4760527.html#a13614400
Sent from the R help mailing list archive at Nabble.com.
2011 May 01
0
plotrix_3.2
...ten for the 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...
2006 Mar 17
3
Exchange 12 Unified Messaging
Exchange 12 will support "OVA" Outlook Voice Access. It will do this using VOIP. I was wondering if anyone has given any thought as to how Asterisk might interface with Exchange 12. It will do this using a VOIP gateway.
If this could happen it seems to me this could be a really big win for Asterisk. I am going to setup a test server as soon as I can and start digging into this.
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