Skip to content
Prev 25697 / 398502 Next

Plotting continuous line types w/large datasets

I didn't mention that different colors is not an option. But actually
on more investigation it appears that I'm wrong about whether the line
type is continued through the line. what I needed to do was to specify
the lty as something like "F7" (which I was already doing) and also set
lwd higher since the units in the lty are proportional to lwd:

x <- seq(1,100000,1)
plot(x,x,lty="F7",type="l",lwd=2)

So modifying plot.stepfun() so that it uses lines() instead of segments()
and then using the above parameters will work.

Thanks,
Richard

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
Message-ID: <200211261435.gAQEZxj09055@gaia.cc.gatech.edu>
In-Reply-To: <x2adjxfm7w.fsf@biostat.ku.dk> from "Peter Dalgaard BSA" at Nov 25, 2002 09:06:27 PM