Re: [R] Q: obtaining non-transparent background in png

2007-08-02 Thread D. R. Evans
Prof Brian Ripley said the following at 07/31/2007 12:20 PM : > You are *copying* the plot, and that means copying the background too (it > *is* part of the plot). Almost certainly the plot you are copying had a > transparent background: that is the default for X11. > > All the confusion seems to

Re: [R] Q: obtaining non-transparent background in png

2007-07-31 Thread Prof Brian Ripley
You are *copying* the plot, and that means copying the background too (it *is* part of the plot). Almost certainly the plot you are copying had a transparent background: that is the default for X11. All the confusion seems to be over misreadings of this. On Tue, 31 Jul 2007, Gavin Simpson wrote

Re: [R] Q: obtaining non-transparent background in png

2007-07-31 Thread D. R. Evans
On 31/07/07, Gavin Simpson <[EMAIL PROTECTED]> wrote: > On Tue, 2007-07-31 at 10:22 -0600, D. R. Evans wrote: > > I am not understanding something about generating PNG plots. > > > > I have tried several ways to obtain something other than a transparent > > background, but nothing I've done seems t

Re: [R] Q: obtaining non-transparent background in png

2007-07-31 Thread Gavin Simpson
On Tue, 2007-07-31 at 10:22 -0600, D. R. Evans wrote: > I am not understanding something about generating PNG plots. > > I have tried several ways to obtain something other than a transparent > background, but nothing I've done seems to change the background. > > For example: > > dev.print(png,

Re: [R] Q: obtaining non-transparent background in png

2007-07-31 Thread James W. MacDonald
Both of these work for me: par(bg="red") plot(1:10) dev.print(png, width=800, height=600, filename="tmp.png") and png("tmp.png", width=800, height=600, bg="red") plot(1:10) dev.off() Best, Jim D. R. Evans wrote: > I am not understanding something about generating PNG plots. > > I have trie

[R] Q: obtaining non-transparent background in png

2007-07-31 Thread D. R. Evans
I am not understanding something about generating PNG plots. I have tried several ways to obtain something other than a transparent background, but nothing I've done seems to change the background. For example: dev.print(png, width=800, height=600, bg='red', filename='example.png') which I thou