[R] funny arrows
Uwe Ligges
ligges at statistik.uni-dortmund.de
Wed Sep 6 14:47:33 CEST 2000
Peter Dalgaard BSA 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)
Hmmm.
R-1.1.1 on WinNT behaves OK (if plotting nothing is OK,
^^^^^^^
as the length of the arrow also should be 0).
Uwe Ligges
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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