From mcw@ln.nimh.nih.gov  Tue Feb 16 20:33:52 1999
From: mcw@ln.nimh.nih.gov (mcw@ln.nimh.nih.gov)
Date: Tue, 16 Feb 1999 21:33:52 +0100
Subject: graphics bug: type="l" (PR#120)
Message-ID: <199902162033.VAA26161@biostat.ku.dk>


The following commands illustrate a problem with graphing relatively large
data sets using the "line" option to plot:

temp <- runif(200000)  # or whatever other numbers you like;
			# same thing happens with a sine wave
plot(1:200000, temp)    # everything fine
plot(1:200000, temp, type="l")   # data gets cut off


The number of points isn't crucial.  The cutoff point appears to be about
65,000 points.  (70,000 points demonstrates the cutoff; with 50,000 points
there's no cutoff.) 

As far as I can tell, the problem only occurs when using the
option type="l".  It's unaffected by color, line type, and line width.

Matt Wiener



-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel 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-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._


graphics bug: type="l" (PR#120)
mcw@ln.nimh.nih.gov