Dear list, I am using R 2.6 on a Windows XP machine.
I divided my device window and tried to set the backgroundcolor for each plot region/figure region separately. This seems not possible?? A simple example: # create random numbers a <- rnorm(100) # divide device window par(mfrow=c(1,2)) # set the backgroundcolour to "red" # this always affect the total device par(bg="red") #two plots should be plotted plot(a) hist(a) I have tried to call "bg" within the high-level-graphic function (plot(bg="red")). Whereas there was no error-message, this has no effect on the background of this singe plot. I found a meaningfull answer I have found here: http://finzi.psych.upenn.edu/R/Rhelp02a/archive/21384.html but I was wondering, whether there is a more easy and explicit way to do it directly for a given plot in a multiplot environment. Are there possibilities to do it specifically for the complete figure region or solely for the complete plot region? Thank you for your help Daniel ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.