search for: 7fff7f

Displaying 5 results from an estimated 5 matches for "7fff7f".

2010 Sep 21
1
Colorramp in Maptools, how to choose min and max values for the fg= argument
...lour 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 differently ?? plot.Map(Shape.map, fg=fgs,...
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, length.out=m), m ) ) C = matrix(C,m,m)...
2013 Feb 04
1
is it possible to create a trellis object with multiple colorkeys/z-scale axis?
...put=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, labels=c('May' ,'Jun','Jul','Aug'...
2012 Dec 04
0
latticeExtra tileplot question - tiles are not all the same size, need help.
...xtConnection(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 chinook salmon through space and time R_g_s<-tileplot(Rogue~...
2006 Jan 09
0
need palette of topographic colors similar to topo.colors ()
...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, topo.colors, heat.colors, terrain.colors....