Hi,

This may be an easy question, but let me ask it. When writing a plot
to a jpeg file:

> plot(runif(30))
> dev.print(file="test.jpeg", device=jpeg, width=600)

the plot I receive has gray background, the result on no account I
want to receive. The same situation occurs when printing to a bmp
file. But when printing a pdf file, the background is white as it
should be. What should I do to have a plot in a jpeg file with white
background?

Thanks,
Marcin

______________________________________________
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.

Reply via email to