[R] Add a rectangle behind a plot

Judith Flores juryef at yahoo.com
Wed Feb 27 01:16:14 CET 2008


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:

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

   The rectangle appear on top of the plot.

Any help will be greatly appreciated,

Judith

 


      ____________________________________________________________________________________
Never miss a thing.  Make Yahoo your home page.



More information about the R-help mailing list