search for: colourrang

Displaying 1 result from an estimated 1 matches for "colourrang".

Did you mean: colourrange
2010 Sep 13
1
Dampening the spline interpolation for contours
...oking filled contours over a large region of the south pacific. I've got a list of points and values to be mapped to those points and I use the interp function as follows: tab<-read.table("data.txt") library("akima") png("contour.png", width = 1000, height=500) colourRange<-colorRampPalette(c("#f9cd00","#f9cd00","#f9cd00","#f9cd00","#ffffff","#6afaff","#53a3ff","#53a3ff","#53a3ff")) filled.contour(interp(x=tab$V1,tab$V2, tab$V3, xo=seq(min(tab$V1), max(tab$V1),length=1000),y...