[R] Dotplot

Deepayan Sarkar deepayansarkar at yahoo.com
Mon Aug 5 18:10:23 CEST 2002


--- Marwan Khawaja <marwan.khawaja at aub.edu.lb> wrote:
> Hello,
> I am using Dotplot (from Frank Harrell's HMISC library) to make a graph of
> rates
> with confidence intervals but I get a 'black' background -- nice but not on a
> printed document:
> 
> >Dotplot(group~Cbind(rate,lower,upper)|mortality,data=mort,ylab=' ')
> 
> How do I change the background (and other) collors in Dotplot?

A very short answer would be to try 

lset(col.whitebg())

before you call Dotplot (provided you already have the device open). A somewhat
more detailed explanation can be found in ?lattice.theme


> Thanks for you help.
> Marwan Khawaja
> 
> platform i386-pc-mingw32
> arch     i386
> os       mingw32
> system   i386, mingw32
> status
> major    1
> minor    5.0
> year     2002
> month    04
> day      29
> language R
> 
>
--------------------------------------------------------------------------------
> --------------------------------------------------------
> Marwan Khawaja   -   http://webfaculty.aub.edu.lb/~mk36/     If you have MS
> Internet Explorer!
>
--------------------------------------------------------------------------------
> --------------------------------------------------------
> 
>
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
> 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
>
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._


__________________________________________________



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