[R] rect() question (sorry for the question)
Vadim Kutsyy
v at kutsyy.com
Tue Aug 22 05:50:33 CEST 2000
Sorry for this question. Somehow passing a vector of colors to border=
didn't work for me first.
On the side note, in help(rect), I think it would be helpful to change
border: color for rectangle border(s).
to
border: color(s) for rectangle border(s).
in order to follow
col: color(s) to fill the rectangle(s) with.
Thanks for all of the e-mails.
--------------------------------------------------------
Vadim Kutsyy
http://www.kutsyy.com vadim at kutsyy.com
The University of Michigan - Ann Arbor PhD Student
> -----Original Message-----
> From: owner-r-help at stat.math.ethz.ch
> [mailto:owner-r-help at stat.math.ethz.ch]On Behalf Of Vadim Kutsyy
> Sent: Monday, August 21, 2000 5:14 PM
> To: R list
> Subject: [R] rect() question.
>
>
> 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
> _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._.
> _._._._._._._
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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