[R] funny arrows
Emmanuel Paradis
paradis at isem.univ-montp2.fr
Wed Sep 6 16:12:00 CEST 2000
At 14:06 06/09/00 +0200, you wrote:
>"Ritter, Christian C SRTCL-CTGAS" <Christian.C.Ritter at OPC.shell.com> writes:
>
>> The result of
>> > plot(c(-1,1),c(-1,1),type="n")
>> > arrows(0,0,1,1)
>> > arrows(0,0,0,0)
>> is not what I expected. The first arrow is drawn correctly. The second
>> does not collapse to a point but goes from (0,0) off to
>> (-infinity,infinity).
>> I guess something is divided by zero in the internal function.
>
>R-1.1.1 on Linux behaves OK (if a lonely arrowhead at (0,0) pointing
>left is OK)
Strange, on WinNT R-1.1.1, I get nothing, i.e.:
> plot(c(-1,1),c(-1,1),type="n")
> arrows(0,0,0,0)
draws nothing but the axes.
Emmanuel Paradis
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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