Displaying 5 results from an estimated 5 matches for "007fff".
Did you mean:
00007fff
2010 Sep 21
1
Colorramp in Maptools, how to choose min and max values for the fg= argument
...ls for plooting geographical data.
The colour of the region indicates some region dependent value
(population for example).
I pass the colours of the regions to the plot.Map function by defining
the foreground colour:
jet.colors = colorRampPalette(c("#00007F", "blue", "#007FFF", "cyan",
"#7FFF7F", "yellow", "#FF7F00", "red", "#7F0000"))
n=100
cols <- jet.colors(n)
Intervalls = cut(as.numeric(Vector),n, na.rm=TRUE)
fgs <-cols[Intervalls] ## is there some option/possibility here to
choose colours di...
2010 Sep 24
2
why I could not reproduce the Mandelbrot plot demonstrated on R wiki
I am trying to reproduce the nice looking of Mandelbrot demonstrated by R
wiki page by the following code:
library(caTools) # external package providing write.gif function
jet.colors = colorRampPalette(c("#00007F", "blue", "#007FFF", "cyan",
"#7FFF7F",
"yellow", "#FF7F00", "red", "#7F0000"))
m = 600 # define size
C = complex( real=rep(seq(-1.8,0.6, length.out=m), each=m ),
imag=rep(seq(-1.2,1.2, len...
2013 Feb 04
1
is it possible to create a trellis object with multiple colorkeys/z-scale axis?
...El2ZkVlcFA4MDN2S1h6Vi03ZUE&single=true&gid=0&output=csv",ssl.
verifypeer=FALSE)
test<-read.csv(textConnection(getdata),header=T)
test$year<-as.factor(test$year)
head(test)
##Custom color ramp
jet.colors <-
colorRampPalette(c("#00007F", "blue", "#007FFF", "cyan",
"#7FFF7F", "yellow", "#FF7F00", "red", "#7F0000"))
##create trellis of tileplots
betweenyear<-tileplot(index~month*-area|stock+year,test,col.regions=jet.colo
rs(256),
scales=list(x=list(at=5:9, labe...
2012 Dec 04
0
latticeExtra tileplot question - tiles are not all the same size, need help.
...output=csv",ssl.verifypeer=FALSE)
gsi_s<-read.csv(textConnection(gsi_csv),header=T)
##Custom color ramp...I didn't like the ones that are provided in the
package, this is similar to jet colors in matlab
jet.colors <-
colorRampPalette(c("#00007F", "blue", "#007FFF", "cyan",
"#7FFF7F", "yellow", "#FF7F00", "red", "#7F0000"))
#Tileplots comparing how CWT recoveries from brood year 1974 -1977 and GSI
data
#from 2010 - 2011 represent the relative abundance of Rogue river chin...
2006 Jan 09
0
need palette of topographic colors similar to topo.colors ()
...'s suggestion, colorRampPalette is a great function for
creating your own palettes. For example, Matlab's jet palette (also
available in fields package under peculiar name 'tim.colors') can be defined
by:
jet.colors = colorRampPalette(c("#00007F", "blue", "#007FFF", "cyan",
"#7FFF7F", "yellow", "#FF7F00", "red", "#7F0000"))
Other predefined functions for creating and managing color palettes that I
know of, are:
* R provides functions for creating palettes of continuous colors:
rainbow, to...