Skip to content
Back to formatted view

Raw Message

Message-ID: <3EF09C88.6040708@stat.ucla.edu>
Date: 2003-06-18T17:08:24Z
From: Roger D. Peng
Subject: Macintosh plots
In-Reply-To: <5F5E400D-A0E6-11D7-BC4C-0003931A92A2@umn.edu>

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