Displaying 2 results from an estimated 2 matches for "colcolor".
Did you mean:
concolor
2011 Feb 10
1
color2D.maplot fixed color range
...nimum and maximum values of all the matrixes (sr+estimatedsr) are something like that c(0.8*min(sr),1.2*max(sr)). (The estimated sr might estimate values smaller and higher than the original sr).
I am trying since yesterday to do that with colord2D.matplot but so far I failed.
There is a function
colcolor<-color.scale(sr,xrange=range(sr)) but this just returns colors and not ranges where a color should be applied.
so when I plot my images with:
color2D.matplot(estimatedsr,xlab="x",ylab="y",main=sprintf('Estimated %d',i),show.legend=FALSE,show.values=FALSE,border=NA,ce...
2011 Feb 17
1
color.scale error
Dear all
when I call color.scale like this:
require('plotrix')
colcolor<-color.scale(c(range_sr,sr),extremes=c("red","blue"))
Error in if (min(reds) < 0 || max(reds) > 1) reds <- rescale(reds, c(0, :
missing value where TRUE/FALSE needed
range_sr
[1] -10.00000000000000 44.02977813958366
str(sr)
num [1:100, 1:100] 2.54 2.71 2....