[R] Reset trellis plot backgroud color

Yang, Richard dyang at nrcan.gc.ca
Thu Nov 29 22:51:41 CET 2001


I run R on Windows 2000. When I load lattice library and plot some lme class
objects, the graphic window displays a dark-green color. Graphics look ok on
the screen, but lines and points become invisible whem I send the plot to a
printer because of the background color. Are there ways to reset the
background color? Both par(bg=) and windows() do not work. Any ideas?

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