[R] rect() question.

Vadim Kutsyy vadik at kutsyy.com
Mon Aug 21 23:14:14 CEST 2000


Hello.

I have another rect question.  If I want to make a lot of rectangular,
without borders, and without any spaces between them, how could I do it?

I.e.

> plot(-1:1., -1:1., type = "n")
> rect(0,-1,1,1,col="red",lwd=0,border=F,xpd=T)
> rect(-1,-1,0,1,col="blue",lwd=0,border=F,xpd=T)

will produce two rectangular, but there is space between them.  How can I
get rid of it?

Thanks.

--------------------------------------------------------
Vadim Kutsyy
http://www.kutsyy.com                   vadim at kutsyy.com
The University of Michigan - Ann Arbor     PhD Student

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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 mailing list