Displaying 1 result from an estimated 1 matches for "sr_colors".
Did you mean:
n_colors
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.89 2.95 3.03 ...