Skip to content

Device 2: graphic window

3 messages · Paolo Covelli, Uwe Ligges, Brian Ripley

#
Does anyone know how I can choose the background color of the graphic
window?
Furthermore, how can I open more than a graphic-window in the same work
session?
(My platform is W2000 on PC)

Thank in advance.

Paolo

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
#
Paolo Covelli wrote:
par("bg" = "green")
windows()

Uwe Ligges
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
#
On Tue, 16 Jul 2002, Paolo Covelli wrote:

            
Which background colour is that?

There is a dark grey which is outside the device surface and cannot be
altered.

The device surface is covered by a canvas, colour set by the argument
`canvas' to windows().  Finally, a plot has a background colour set by
par(bg=), which is by default transparent.
by windows(), the same way you opened the first one (possibly unseen by
you).