[R] plot and bg

Emmanuel Paradis paradis at isem.univ-montp2.fr
Tue Aug 20 12:31:07 CEST 2002


At 08:56 20/08/02 +0200, you wrote:
>Hi all,
>
>I would like to plot some points and define the bg color of my graphics.
>But the bg parameter set is defined for the. whole graphic.
>In fact, i would like to use something like :
>
>box(bg=gray(0.9)).
>
>So, the background  concerns only the plot region  and not the main 
>title, the x title and the y title.
>
>The option col for the function box() concerns the contour and there is 
>no option for the background.

There is an example in demo(graphics) where the colour of the background
within the plotting is not the same than in the margins; is it what you
want? (The code is there of course.)

EP

>Regards,
>
>-- 
>-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
.-.-.-
>Olivier MARTIN
>PhD student                  phone : (33) 04 76 61 53 55
>Projet IS2                               06 08 67 93 42		
>INRIA Rhone-Alpes            fax   : (33) 04 76 61 54 77
>655, Av. de l'Europe
>Montbonnot                   e-mail: olivier.martin at inrialpes.fr
>38334 Saint Ismier cedex     web   :
http://www.inrialpes.fr/is2/people/omartin
>-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
.-.-.-
>
>
>-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
.-.-
>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