Hello, expeRts, I'm using the function getChannels for capture the matriz of R,G,B of a figure. I think that its returns values between 0 and 255, but the matriz contents values between 0 and 1. Somebody could explain me that values are these, pls? Tks, Francisco.
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Francisco Júnior, Computer Science - UFPE-Brazil "One life has more value that the world whole" ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ On Tue, 28 Jan 2003, John Fox wrote: > Dear Luis, > > At 04:23 PM 1/28/2003 +0000, Luis Silva wrote: > >Thanks to all! as.character solved my problem. And if I wanted > >different colors instead? > > > The argument col is also vectorized, so something like plot( ...., > col=class) will work if class consists of small intergers. Alternatively, > use class to index a vector of colors, as in col=c("red", "green", > "blue")[class]. > > John > > ----------------------------------------------------- > John Fox > Department of Sociology > McMaster University > Hamilton, Ontario, Canada L8S 4M4 > email: [EMAIL PROTECTED] > phone: 905-525-9140x23604 > web: www.socsci.mcmaster.ca/jfox > ----------------------------------------------------- > > ______________________________________________ > [EMAIL PROTECTED] mailing list > http://www.stat.math.ethz.ch/mailman/listinfo/r-help > ______________________________________________ [EMAIL PROTECTED] mailing list http://www.stat.math.ethz.ch/mailman/listinfo/r-help