[R] Background in lattice plots using dotplot()

Achim Zeileis zeileis at ci.tuwien.ac.at
Thu Apr 18 11:21:24 CEST 2002


Patrick Connolly wrote:
> 
> platform i586-pc-linux-gnu
> arch     i586
> os       linux-gnu
> system   i586, linux-gnu
> status
> major    1
> minor    4.1
> year     2002
> month    01
> day      30
> language R
> 
> I can't seem to get rid of the slightly green background when I use
> dotplot().  It shows on the screen in the X11 device and when a
> postscript file is viewed with the Gimp or GhostView.  Fortunately, it
> is too faint to print on a Xerox colour printer.
> 
> However, if I attempt to make a monochrome bitmap file either using
> bitmap(type = "pngmono") or converting a postscript file, it comes up
> (and prints) as a very noticeable grey.  I've tried specifically
> setting bg to "white" in every place I can think of, but without
> success.

Simply saying

R> trellis.device("x11", bg=0)

to open the trellis device doesn't work? That's at least, what I use to
get a white background. Then I usually change the colours and plotting
symbols with trellis.par.set().

Hope that helps
Z

> The problem doesn't appear when using bwplot() which I'd have thought
> had a lot in common.
> 
> Has anyone experience with such a problem?
> 
> --
> *************************************************************
>    ___      Patrick Connolly
>  {~._.~}    HortResearch             Great minds discuss ideas;
>  _( Y )_    Mt Albert                Average minds discuss events;
> (:_~*~_:)   Auckland                 Small minds discuss people.
>  (_)-(_)    New Zealand                                    .... Anon
>             Ph: +64-9 815 4200 x 7188
> *************************************************************
> 
> ______________________________________________________
> The contents of this e-mail are privileged and/or confidential to the
> named recipient and are not to be used by any other person and/or
> organisation. If you have received this e-mail in error, please notify
> the sender and delete all material pertaining to this e-mail.
> ______________________________________________________
> -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
> 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