This may be a dumb question, but I've wasted several hours trying to find an answer.... When I do a plot with no parameters set eg: ' >plot(d1)' it comes up with a dark gray background and blue data points. I can modify the data points using '>plot(d1, col = "red")', but I have not been able to modify the background color. '>plot(d1, bg = "white")' does not work. Any help would be most appreciated. Cheers, Ian.
Macintosh plots
2 messages · Ian Dickie, Roger D. Peng
What is d1? The plot function itself is generic and does not necessarily do anything. It might be that the d1 object is of a particular class and the plot method for that class changes the background, point color, etc. You could try par(bg = "transparent") but it's possible that the plot method might just reset it. -roger
Ian Dickie wrote:
This may be a dumb question, but I've wasted several hours trying to find an answer.... When I do a plot with no parameters set eg: ' >plot(d1)' it comes up with a dark gray background and blue data points. I can modify the data points using '>plot(d1, col = "red")', but I have not been able to modify the background color. '>plot(d1, bg = "white")' does not work. Any help would be most appreciated. Cheers, Ian.
______________________________________________ R-help at stat.math.ethz.ch mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help