[R] Background color with jpeg and png devices
Prof Brian Ripley
ripley at stats.ox.ac.uk
Fri Sep 15 10:13:44 CEST 2000
On Thu, 14 Sep 2000, Trent Piepho wrote:
> If I change the background color of a plot, with par(bg="red") for example, I
> get a plot with a red background when I use the postscript or X11 devices.
> With the png or jpeg devices, the background is white.
> Is this the intended behavior, or a bug? Is there anyway to get a non-white
> background with the png device? I'm using R-1.1.0 on Linux.
A bit of both (as I never had a need for other than white backgrounds).
But if people want it (evidently they do) it is a bug (Unix only as it
seems correct on Windows). We will fix it in due course, but for now I
believe that the bitmap device does pick up the background colour
and can produce png or jpeg.
Brian D. Ripley, ripley at stats.ox.ac.uk
Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/
University of Oxford, Tel: +44 1865 272861 (self)
1 South Parks Road, +44 1865 272860 (secr)
Oxford OX1 3TG, UK Fax: +44 1865 272595
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