[R] Add a rectangle behind a plot

From: Judith Flores <juryef_at_yahoo.com>
Date: Tue, 26 Feb 2008 16:16:14 -0800 (PST)

Hi there,

   I found one reference to add a reactangle behind a plot using plot(...,add=T), I tried this but didn't obtain the desired result.

If a I have the following code:

rect(xleft, ybottom, xright,ytop,col='green)

   The rectangle appear on top of the plot.

Any help will be greatly appreciated,


Never miss a thing. Make Yahoo your home page.

R-help_at_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. Received on Wed 27 Feb 2008 - 00:19:17 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Wed 27 Feb 2008 - 07:30:16 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive