Hi! I am using R1.5.0. When using functions form lattice the background is dark grey. I have tried to change it using par() but it does not work. By the way, if I use par and the standard functions like hist() there is no problem with the par function. Any hints? Thank in advance, Ignacio Perez Escuela Colombiana de Ingenieria -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
Ignacio P?rez wrote:> > Hi! > > I am using R1.5.0. When using functions form lattice the background is > dark grey. I have tried to change it using par() but it does not work. By > the way, if I use par and the standard functions like hist() there is no > problem with the par function. Any hints?Latice implements trellis graphics. It is differs from the standard graphics functions. Thus it doesn't use the par() parameters. See ?Lattice for details, Uwe Ligges -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
moin> I am using R1.5.0. When using functions form lattice the background is > dark grey. I have tried to change it using par() but it does not work. By > the way, if I use par and the standard functions like hist() there is no > problem with the par function. Any hints?simple solution for a white background and adapted colours: lset(col.whitebg()) read ?lset for more on this. bye -- Ulf Martin ulf.martin at gmx.net -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
You can use the function trellis.device() to initialize a Trellis display with appropriate settings of the graphics control parameter, using the option bg you change the background color. See the help. Bye -- ================================================= Alvaro Colina Area de Quimica Analitica. Facultad de Ciencias. Universidad de Burgos. Pza. Misael Banuelos s/n. 09001. Burgos. Spain Phone: 34-947-258817 FAX: 34-947-258831 e-mail: acosa at ubu.es http://www2.ubu.es/quim/quimana/index.shtml ================================================== -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._