[R] Strange behaviour of "image"

Ernesto Jardim ernesto at ipimar.pt
Thu Oct 3 13:11:11 CEST 2002


I'm using "image" and got some strange results. When I define the color
sequence as "col=gray(seq(0.95,0,-0.01))" or
"col=gray(seq(0.94,0,-0.01))" I got an error

Error in gray(level) : invalid gray level, must be in [0,1].

If I use 0.96 or 0.93 it works ...


ps: R 1.6.0 on SuSE Linux 8.0

r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch

More information about the R-help mailing list