[R] How do I change plot colors in bwplot

Ko-Kang Kevin Wang ko-kang at xtra.co.nz
Tue Sep 24 03:17:37 CEST 2002


The default should be white, I think.

But you can try:
  par(bg = "white")
  plot(1:10)

This should set the background to white.

> From: Ken Nussear <knussear at biodiversity.unr.edu>
> Date: 2002/09/24 Tue AM 10:22:11 GMT+12:00
> To: r-help at stat.math.ethz.ch
> Subject: [R] How do I change plot colors in bwplot
> 
> Hello,
> 
> I'm using bwplot to make a few plots. The plots are exactly what I 
> need, but are coming out with a grey background and turquoise boxes and 
> whiskers.  I cannot figure out how to just get black and white to be 
> the default. Can anyone help me with this?
> 
> Thanks
> 
> 
> Kenneth E. Nussear                    Phone  775 784-1703
> Ecology, Evolution and                  FAX 775 784-1369
> Conservation Biology/314             knussear at biodiversity.unr.edu
> Reno, Nevada   89557-0013         http://www.brrc.unr.edu/~knussear/
> 
> Hello,
> 
> 
> I'm using bwplot to make a few plots. The plots are exactly what I
> need, but are coming out with a grey background and turquoise boxes
> and whiskers.  I cannot figure out how to just get black and white to
> be the default. Can anyone help me with this?
> 
> 
> Thanks
> 
> 
> 
> <fontfamily><param>Comic Sans MS</param>Kenneth E. Nussear                   
> Phone  775 784-1703      
> 
> Ecology, Evolution and                  FAX 775 784-1369         
> 
> Conservation Biology/314             knussear at biodiversity.unr.edu                            
> 
> Reno, Nevada   89557-0013         http://www.brrc.unr.edu/~knussear/
> 
> </fontfamily>
> 

-----------------------------------
Ko-Kang Kevin Wang
Statistical Analysis Division Leader
Software Developers' Klub (SDK)
University of Auckland
New Zealand

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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