[R] xyplot

Mr deepayan sarkar deepayansarkar at yahoo.com
Wed May 30 17:01:05 CEST 2001

--- Samir Messad <messad at cirad.cirad.fr> wrote:
> At 08:49 29/05/01 -0400, Heberto Ghezzo wrote:
> >Hello, R 1.2.2 on W98
> >I tried xyplot, as plotting goes it works but the
> background is dark 
> >olive in my screen and dark grey in printing with a
> laser, so lines 
> >and points are invisible in paper, in the screen
> they are light blue.
> >I check the help and print the properties and can
> not find the way to 
> >set the background color to white, i.e. I can not
> find $background 
> >anywhere. Can somebody please help?
> >Thanks.
> >
> >R. Heberto Ghezzo  Ph.D.
> >Meakins-Christie Labs
> >McGill University
> >Montreal - Canada
> >heberto at meakins.lan.mcgill.ca
> Hello,
> you can try this before xyplot : 
> trellis.device(bg = "white") 

Right, though this would open a new device, which 
might not be what you want. You can try 

trellis.device(bg = "white", new = F)

(Or a simple par(bg="white") would do as well).

Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail - only $35 
a year!  http://personal.mail.yahoo.com/
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