Hi Greg, I am not sure if I understand you correctly. I am using the "plot" command directly in R Console in the windows version of R and I also have tried it in the linux version of R.
Thanks a lot for your help! Best, Jun --- Greg Snow <[EMAIL PROTECTED]> wrote: > Which graphics device are you using? > > ________________________________ > > From: [EMAIL PROTECTED] on behalf of > Jun Ding > Sent: Wed 3/7/2007 9:47 PM > To: [email protected] > Subject: [R] alpha parameter in function rgb to > specify color > > > > Hi All, > > In function "rgb", alpha parameter is supposed to > set > the transparency value. But in my following two > examples, it didn't work: > > plot(1,col = rgb(1,0,0,alpha =0.8)) > # as long as alpha < 1, there is no point in the > plot. > > plot(1,col = rgb(0,0,255, alpha=254, > maxColorValue=255)) > # as long as alpha < 255, there is no point in the > plot. > > Do I use it in the right way? Any advice is > appreciated. > > Best, > > Jun Ding > > > > ____________________________________________________________________________________ > Expecting? Get great news right away with email > Auto-Check. > > ______________________________________________ > [email protected] mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide > http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, > reproducible code. > > > ____________________________________________________________________________________ Don't pick lemons. ______________________________________________ [email protected] mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.
