[R] colors for background and plotting area
paradis at isem.univ-montp2.fr
Sat Sep 2 16:11:03 CEST 2000
At 11:02 02/09/00 +0000, you wrote:
>I am trying to prepare some figures where I'd like the color of the plot
>(i.e., the area bounded by the axes) to be different from the margin area
>(i.e., the area of the figure not within the axes region). I can use "bg"
>that changes the background of everything? How can I accomplish what I want?
>email:ramon-diaz at teleline.es
Look at demo(graphics), there are two examples of this.
1. specify the backgroung colour (will colour outside the axes)
2. draw the axes without the plot using plot(..., type="n")
3. draw a rectangle within the axes
4. draw the plot with lines() or points()
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