[Rd] gap in lines() -- 2.7.1, Mac, quartz() (PR#12520)

Thomas Lumley tlumley at u.washington.edu
Sun Aug 10 20:06:37 CEST 2008



I also see this. It seems that the 100th point plotted is not connected to the 101st, regardless of the actual data values. A more visually dramatic example is

    x<-seq(0,8*pi,length=102)
    plot(x,cos(x),type="l")

which makes it clear that the problem isn't just something like antialiasing. The gap doesn't appear in pdf().

      -thomas

Thomas Lumley			Assoc. Professor, Biostatistics
tlumley at u.washington.edu	University of Washington, Seattle



More information about the R-devel mailing list