[R] setup trellis.device to color=F inside the xyplot function

Ronaldo Reis Junior chrysopa at gmail.com
Sun Aug 5 15:18:17 CEST 2007


Hi,

it is possible to setup trellis.device(color=F) inside teh function xyplot?

I try to use 

> xyplot(ocup~tempo|
nitro+estacao,col="white",ylim=c(0,0.7),par.settings=list(color=F))

But dont work, the only way that work for me is call the function

> trellis.device(color=F)

before the xyplot, but in this way it open a new device for each run. I like 
that is use the same device every time, but without colors.

Thanks
Ronaldo
-- 
  Our similarities are different. -Dale Berra, son of Yogi
--
> Prof. Ronaldo Reis Júnior
|  .''`. UNIMONTES/Depto. Biologia Geral/Lab. de Ecologia
| : :'  : Campus Universitário Prof. Darcy Ribeiro, Vila Mauricéia
| `. `'` CP: 126, CEP: 39401-089, Montes Claros - MG - Brasil
|   `- Fone: (38) 3229-8187 | ronaldo.reis em unimontes.br | chrysopa em gmail.com
| http://www.ppgcb.unimontes.br/ | ICQ#: 5692561 | LinuxUser#: 205366



More information about the R-help mailing list